/var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/TestSuite/Constraint
NameSizeModeActions
Console/-0755rm
Email/-0755rm
Response/-0755rm
Session/-0755rm
View/-0755rm
EventFired.php18530644editdlrm
EventFiredWith.php28610644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/cakephp/cakephp/src/TestSuite/Constraint/EventFired.php (1853B)
_eventManager = $eventManager; if ($this->_eventManager->getEventList() === null) { throw new AssertionFailedError( 'The event manager you are asserting against is not configured to track events.' ); } } /** * Checks if event is in fired array * * @param mixed $other Constraint check * @return bool */ public function matches($other): bool { $list = $this->_eventManager->getEventList(); return $list === null ? false : $list->hasEvent($other); } /** * Assertion message string * * @return string */ public function toString(): string { return 'was fired'; } }