public function filterModelCollectionAsContainer(Collection $collection)
    {
        parent::filterModelCollectionAsContainer($collection);

        $collection->filter(new Equals("Accepted", false));
    }
public function filterModelCollectionAsContainer(Collection $collection)
    {
        parent::filterModelCollectionAsContainer($collection);

        $collection->filter(new Equals("Accepted", false));
    }
public function filterModelCollectionAsContainer ( Collection $ collection ) { parent :: filterModelCollectionAsContainer ( $ collection ) ; $ collection -> filter ( new Equals ( "Accepted" , false ) ) ; }
Override to filter a model collection to apply any necessary filters only when this is the REST collection of the specific resource being fetched

@param Collection $collection
Override to filter a model collection to apply any necessary filters only when this is the REST collection of the specific resource being fetched