public function addResources() {
			if ($this->resourceChain === null)
				$this->resourceChain = new ResourceChain($this);

			return $this->resourceChain;
		}
public function addResources() {
			if ($this->resourceChain === null)
				$this->resourceChain = new ResourceChain($this);

			return $this->resourceChain;
		}
public function addResources ( ) { if ( $ this -> resourceChain === null ) $ this -> resourceChain = new ResourceChain ( $ this ) ; return $ this -> resourceChain ; }
Returns a ResourceChain object that can be used to add stylesheets and scripts.

Functionally, this is the same as calling `add*Script` and `add*Stylesheet` methods, except that it
automatically registers all previously registered resources (added via the ResourceChain) as dependencies.

@return ResourceChain
Returns a ResourceChain object that can be used to add stylesheets and scripts .