Esempio n. 1
0
 /**
  * @return bool
  */
 function valid()
 {
     return is_array($this->container) ? null !== $this->key() : $this->container->valid();
 }
Esempio n. 2
0
 /**
  * @param Route $route
  * @return void
  */
 protected function setRoute(Route $route)
 {
     $this->config->set(Dispatch::ROUTE, $route);
 }