EventFiredWith constraint
Another glorified in_array check
$_dataKey
protected string
$_dataValue
protected string
$_eventManager
protected __construct( Cake\Event\EventManager $eventManager , string $dataKey , string $dataValue )
Constructor
Cake\Event\EventManager
$eventManager
$dataKey
$dataValue
matches( mixed $other )
Checks if event is in fired array
$other
© 2005–2017 The Cake Software Foundation, Inc.
Licensed under the MIT License.
CakePHP is a registered trademark of Cake Software Foundation, Inc.
We are not endorsed by or affiliated with CakePHP.
https://api.cakephp.org/3.4/class-Cake.TestSuite.Constraint.EventFiredWith.html