Source of file MockEvent.php
Size: 0,483 Bytes - Last Modified: 2021-12-23T10:30:09+00:00
/var/www/docs.ssmods.com/process/src/tests/Dispatch/MockEvent.php
12345678910111213141516171819202122232425262728 | <?php namespace SilverStripe\EventDispatcher\Tests\Dispatch; use SilverStripe\EventDispatcher\Event\EventContextInterface; class MockEvent implements EventContextInterface { public $result = ''; private $action = null; public function __construct($action = null) { $this->action = $action; } public function getAction(): ?string { return $this->action; } public function get(string $name) { return null; } } |