public function make($path)
    {
        $absolutePath = $this->buildAbsolutePath($path);

        $relativePath = $this->buildRelativePath($absolutePath);

        $asset = new Asset($this->files, $this->factory, $this->appEnvironment, $absolutePath, $relativePath);

        return $asset->setOrder($this->nextAssetOrder());
    }
public function make($path)
    {
        $absolutePath = $this->buildAbsolutePath($path);

        $relativePath = $this->buildRelativePath($absolutePath);

        $asset = new Asset($this->files, $this->factory, $this->appEnvironment, $absolutePath, $relativePath);

        return $asset->setOrder($this->nextAssetOrder());
    }
public function make ( $ path ) { $ absolutePath = $ this -> buildAbsolutePath ( $ path ) ; $ relativePath = $ this -> buildRelativePath ( $ absolutePath ) ; $ asset = new Asset ( $ this -> files , $ this -> factory , $ this -> appEnvironment , $ absolutePath , $ relativePath ) ; return $ asset -> setOrder ( $ this -> nextAssetOrder ( ) ) ; }
Make a new asset instance.

@param  string  $path
@return \Basset\Asset
Make a new asset instance .