original_string: public function toArray(): array
      {
          return [
              'name' => $this->name,
              'method' => $this->method,
              'url' => $this->url,
              'model' => $this->model,
              'view' => $this->view,
              'controller' => $this->controller,
              'action' => $this->action,
              'default' => $this->default,
              'param' => $this->param,
              'callback' => $this->callback
          ];
      }
code: public function toArray(): array
      {
          return [
              'name' => $this->name,
              'method' => $this->method,
              'url' => $this->url,
              'model' => $this->model,
              'view' => $this->view,
              'controller' => $this->controller,
              'action' => $this->action,
              'default' => $this->default,
              'param' => $this->param,
              'callback' => $this->callback
          ];
      }
code_tokens: public function toArray ( ) : array { return [ 'name' => $ this -> name , 'method' => $ this -> method , 'url' => $ this -> url , 'model' => $ this -> model , 'view' => $ this -> view , 'controller' => $ this -> controller , 'action' => $ this -> action , 'default' => $ this -> default , 'param' => $ this -> param , 'callback' => $ this -> callback ] ; }
docstring: Return route array.
  
  @return array
docstring_tokens: Return route array .