src/Support/Data/MenuPresence.php
public function children()
    {
        $children = $this->getAttribute('children') ?: [];

        if ($children && ! is_array($children) && ! ($children instanceof Collection)) {
            return (array) $children;
        }

        return $children;
    }
public function children()
    {
        $children = $this->getAttribute('children') ?: [];

        if ($children && ! is_array($children) && ! ($children instanceof Collection)) {
            return (array) $children;
        }

        return $children;
    }
public function children ( ) { $ children = $ this -> getAttribute ( 'children' ) ? : [ ] ; if ( $ children && ! is_array ( $ children ) && ! ( $ children instanceof Collection ) ) { return ( array ) $ children ; } return $ children ; }
Returns child presences of this presence.

@return MenuPresenceInterface[]
Returns child presences of this presence .