public function serialize()
    {
        return serialize([
            'route' => $this->route,
            'depth' => $this->depth,
            'apps' => $this->apps,
            'children' => $this->children
        ]);
    }
public function serialize()
    {
        return serialize([
            'route' => $this->route,
            'depth' => $this->depth,
            'apps' => $this->apps,
            'children' => $this->children
        ]);
    }
public function serialize ( ) { return serialize ( [ 'route' => $ this -> route , 'depth' => $ this -> depth , 'apps' => $ this -> apps , 'children' => $ this -> children ] ) ; }
Serialize the route.
@return string data The serialized route
Serialize the route .