public function filterAdult($adult = false)
    {
        return $this->filter(
            function ($key, $value) use ($adult) {
                if ($value instanceof AdultFilter && $value->getAdult() == $adult) {
                    return true;
                }
            }
        );
    }
public function filterAdult($adult = false)
    {
        return $this->filter(
            function ($key, $value) use ($adult) {
                if ($value instanceof AdultFilter && $value->getAdult() == $adult) {
                    return true;
                }
            }
        );
    }
public function filterAdult ( $ adult = false ) { return $ this -> filter ( function ( $ key , $ value ) use ( $ adult ) { if ( $ value instanceof AdultFilter && $ value -> getAdult ( ) == $ adult ) { return true ; } } ) ; }
Filter by adult content

@param  boolean           $adult
@return GenericCollection
Filter by adult content