public function getAsset($path)
    {
        // Absolute path will not be in manifest
        if ($path[0] === '/') {
            return $this->getUrl($path);
        }

        // Get manifest
        $asset = $this->manifest->get($path);

        return $this->getUrl('/assets/' . trim($asset, '/'));
    }
public function getAsset($path)
    {
        // Absolute path will not be in manifest
        if ($path[0] === '/') {
            return $this->getUrl($path);
        }

        // Get manifest
        $asset = $this->manifest->get($path);

        return $this->getUrl('/assets/' . trim($asset, '/'));
    }
public function getAsset ( $ path ) { // Absolute path will not be in manifest if ( $ path [ 0 ] === '/' ) { return $ this -> getUrl ( $ path ) ; } // Get manifest $ asset = $ this -> manifest -> get ( $ path ) ; return $ this -> getUrl ( '/assets/' . trim ( $ asset , '/' ) ) ; }
Check asset manifest for a file

@param  string $path
@return string
Check asset manifest for a file