call() public method

public call ( SM\Event\TransitionEvent $event ) : mixed
$event SM\Event\TransitionEvent
return mixed The returned value from the callback
 /**
  * {@inheritDoc}
  */
 public function call(TransitionEvent $event)
 {
     // Load the services only now (when the callback is actually called)
     if (is_array($this->callable) && is_string($this->callable[0]) && 0 === strpos($this->callable[0], '@') && $this->container->has($serviceId = substr($this->callable[0], 1))) {
         $this->callable[0] = $this->container->get($serviceId);
     }
     return parent::call($event);
 }