PHP Class Metabor\Statemachine\Transition\ActiveTransitionFilter

Author: otischlinger
Inheritance: extends FilterIterator
Mostra file Open project: metabor/statemachine

Protected Properties

Property Type Description
$context ArrayAccess
$event MetaborStd\Event\EventInterface
$subject object

Public Methods

Method Description
__construct ( Traversable $transitions, object $subject, ArrayAccess $context, MetaborStd\Event\EventInterface $event = null )
accept ( )

Method Details

__construct() public method

public __construct ( Traversable $transitions, object $subject, ArrayAccess $context, MetaborStd\Event\EventInterface $event = null )
$transitions Traversable
$subject object
$context ArrayAccess
$event MetaborStd\Event\EventInterface

accept() public method

See also: FilterIterator::accept()
public accept ( )

Property Details

$context protected_oe property

protected ArrayAccess $context
return ArrayAccess

$event protected_oe property

protected EventInterface,MetaborStd\Event $event
return MetaborStd\Event\EventInterface

$subject protected_oe property

protected object $subject
return object