public function getAssetsOnlyRaw($group = null)
    {
        // Get all the assets for the given group and filter out assets that aren't listed
        // as being raw.
        $assets = $this->getAssets($group, true)->filter(function($asset)
        {
            return $asset->isRaw();
        });

        return $assets;
    }
public function getAssetsOnlyRaw($group = null)
    {
        // Get all the assets for the given group and filter out assets that aren't listed
        // as being raw.
        $assets = $this->getAssets($group, true)->filter(function($asset)
        {
            return $asset->isRaw();
        });

        return $assets;
    }
public function getAssetsOnlyRaw ( $ group = null ) { // Get all the assets for the given group and filter out assets that aren't listed // as being raw. $ assets = $ this -> getAssets ( $ group , true ) -> filter ( function ( $ asset ) { return $ asset -> isRaw ( ) ; } ) ; return $ assets ; }
Get all the assets filtered by a group but only if the assets are raw.

@param  string  $group
@return \Illuminate\Support\Collection
Get all the assets filtered by a group but only if the assets are raw .