public function childrenAllowed(Authenticatable $user = null)
    {
        return $this->children()->filter(function ($item) use ($user) {
            return $item->isAllowed($user);
        });
    }
public function childrenAllowed(Authenticatable $user = null)
    {
        return $this->children()->filter(function ($item) use ($user) {
            return $item->isAllowed($user);
        });
    }
public function childrenAllowed ( Authenticatable $ user = null ) { return $ this -> children ( ) -> filter ( function ( $ item ) use ( $ user ) { return $ item -> isAllowed ( $ user ) ; } ) ; }
Returns allowed children of the item

@return \Konekt\Menu\ItemCollection
Returns allowed children of the item