PHP Class Metabor\Statemachine\Transition\ActiveTransitionFilterTest

Inheritance: extends PHPUnit_Framework_TestCase
显示文件 Open project: metabor/statemachine

Public Methods

Method Description
testFiltersAllNotActiveTransitions ( )

Protected Methods

Method Description
createTransition ( boolean $active, object $subject, ArrayAccess $context, MetaborStd\Event\EventInterface $event = null ) : MetaborStd\Statemachine\TransitionInterface

Method Details

createTransition() protected method

protected createTransition ( boolean $active, object $subject, ArrayAccess $context, MetaborStd\Event\EventInterface $event = null ) : MetaborStd\Statemachine\TransitionInterface
$active boolean
$subject object
$context ArrayAccess
$event MetaborStd\Event\EventInterface
return MetaborStd\Statemachine\TransitionInterface

testFiltersAllNotActiveTransitions() public method