public function children()
    {
        return $this->menu->items->filter(function ($item) {
            return $item->hasParent() && $item->parent->name == $this->name;
        });
    }
public function children()
    {
        return $this->menu->items->filter(function ($item) {
            return $item->hasParent() && $item->parent->name == $this->name;
        });
    }
public function children ( ) { return $ this -> menu -> items -> filter ( function ( $ item ) { return $ item -> hasParent ( ) && $ item -> parent -> name == $ this -> name ; } ) ; }
Returns children of the item

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