public function getTransition($name) { return isset($this->transitions[$name]) ? $this->transitions[$name] : null; }