protected function filter(array $list)
    {
        $tmp = [];
        foreach ($list as $item) {
            if ($item['anime']) {
                $tmp[] = $item;
            }
        }
        return $tmp;
    }
protected function filter(array $list)
    {
        $tmp = [];
        foreach ($list as $item) {
            if ($item['anime']) {
                $tmp[] = $item;
            }
        }
        return $tmp;
    }
protected function filter ( array $ list ) { $ tmp = [ ] ; foreach ( $ list as $ item ) { if ( $ item [ 'anime' ] ) { $ tmp [ ] = $ item ; } } return $ tmp ; }
Filter a list items

@param array $list

@return array
Filter a list items