public function prepareFilters($production = false)
    {
        $filters = $this->filters->map(function($filter) use ($production)
        {
            $filter->setProduction($production);

            return $filter->getInstance();
        });

        return $filters->filter(function($filter) { return $filter instanceof FilterInterface; });
    }
public function prepareFilters($production = false)
    {
        $filters = $this->filters->map(function($filter) use ($production)
        {
            $filter->setProduction($production);

            return $filter->getInstance();
        });

        return $filters->filter(function($filter) { return $filter instanceof FilterInterface; });
    }
public function prepareFilters ( $ production = false ) { $ filters = $ this -> filters -> map ( function ( $ filter ) use ( $ production ) { $ filter -> setProduction ( $ production ) ; return $ filter -> getInstance ( ) ; } ) ; return $ filters -> filter ( function ( $ filter ) { return $ filter instanceof FilterInterface ; } ) ; }
Prepare the filters applied to the asset.

@param  bool  $production
@return \Illuminate\Support\Collection
Prepare the filters applied to the asset .