| 12345678910111213141516171819202122232425262728293031 |
- <?php
- namespace Test\Michel\EventDispatcher\Event;
- use Michel\EventDispatcher\Event;
- final class PreCreateEventTest extends Event
- {
- private object $object;
- /**
- * PreCreateEvent constructor.
- *
- * @param object $object
- */
- public function __construct(object $object)
- {
- $this->object = $object;
- }
- /**
- * Get the associated object.
- *
- * @return object
- */
- public function getObject(): object
- {
- return $this->object;
- }
- }
|