src/Tolkien/BuildAsset.php
public function setAsset($path)
	{		
		$url = $this->config['dir']['site'] . str_replace($this->config['dir']['asset'], '', $path);
		$this->assets[] = new Asset($path, $url);
	}
public function setAsset($path)
	{		
		$url = $this->config['dir']['site'] . str_replace($this->config['dir']['asset'], '', $path);
		$this->assets[] = new Asset($path, $url);
	}
public function setAsset ( $ path ) { $ url = $ this -> config [ 'dir' ] [ 'site' ] . str_replace ( $ this -> config [ 'dir' ] [ 'asset' ] , '' , $ path ) ; $ this -> assets [ ] = new Asset ( $ path , $ url ) ; }
Create Asset object instance

@param string $path
@return Model\Asset
Create Asset object instance