Ejemplo n.º 1
0
 /**
  * Return state from collection by its name
  *
  * @param string $name
  *
  * @return State
  */
 private function getState($name)
 {
     return $this->states->get($name);
 }
Ejemplo n.º 2
0
 /**
  * Return event with given name
  *
  * @param string $name
  *
  * @return EventInterface
  */
 public function getEvent($name)
 {
     return $this->events->get($name);
 }