public function build($production = false)
    {
        $filters = $this->prepareFilters($production);

        $asset = new StringAsset($this->getContent(), $filters->all(), dirname($this->absolutePath), basename($this->absolutePath));

        return $asset->dump();
    }
public function build($production = false)
    {
        $filters = $this->prepareFilters($production);

        $asset = new StringAsset($this->getContent(), $filters->all(), dirname($this->absolutePath), basename($this->absolutePath));

        return $asset->dump();
    }
public function build ( $ production = false ) { $ filters = $ this -> prepareFilters ( $ production ) ; $ asset = new StringAsset ( $ this -> getContent ( ) , $ filters -> all ( ) , dirname ( $ this -> absolutePath ) , basename ( $ this -> absolutePath ) ) ; return $ asset -> dump ( ) ; }
Build the asset.

@param  bool  $production
@return string
Build the asset .