Свойство | Тип | Описание | |
---|---|---|---|
$callable | mixed | ||
$specs | array |
Метод | Описание | |
---|---|---|
__construct ( array $specs, mixed $callable ) | ||
__invoke ( SM\Event\TransitionEvent $event ) | {@inheritDoc} | |
call ( SM\Event\TransitionEvent $event ) : mixed | ||
isSatisfiedBy ( SM\Event\TransitionEvent $event ) | {@inheritDoc} |
Метод | Описание | |
---|---|---|
filterCallable ( callable | array $callable, SM\Event\TransitionEvent $event ) : callable | ||
isSatisfiedByClause ( string $clause, string $value ) : boolean |
public __construct ( array $specs, mixed $callable ) | ||
$specs | array | Specification for the Callback to be called |
$callable | mixed | Closure or Callable that will be called if specifications pass |
public __invoke ( SM\Event\TransitionEvent $event ) | ||
$event | SM\Event\TransitionEvent |
protected filterCallable ( callable | array $callable, SM\Event\TransitionEvent $event ) : callable | ||
$callable | callable | array | A callable or array with index 0 starting with "object" that will evaluated as a property path with "object" being the object undergoing the transition |
$event | SM\Event\TransitionEvent | |
Результат | callable |
public isSatisfiedBy ( SM\Event\TransitionEvent $event ) | ||
$event | SM\Event\TransitionEvent |