프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |