public function findAll(array $where, $preloadModels = false)
    {
        return (new MenuQuery())->where($where)->preloadModels($preloadModels)->all();
    }
public function findAll(array $where, $preloadModels = false)
    {
        return (new MenuQuery())->where($where)->preloadModels($preloadModels)->all();
    }
public function findAll ( array $ where , $ preloadModels = false ) { return ( new MenuQuery ( ) ) -> where ( $ where ) -> preloadModels ( $ preloadModels ) -> all ( ) ; }
Wrapper method to get all menu items for the current language without hidden items for
the specific where statement.

@param array $where See {{\luya\cms\menu\Query::where()}}
@param boolean $preloadModels Whether to preload all models for the given menu Query. See {{luya\cms\menu\Query::preloadModels()}}
@see \luya\cms\menu\Query::where()
@return \luya\cms\menu\QueryIterator
Wrapper method to get all menu items for the current language without hidden items for the specific where statement .