| 1 | <?php |
||
| 22 | class RevisionPublishedEvent extends Event |
||
| 23 | { |
||
| 24 | /** |
||
| 25 | * @var RevisionInterface |
||
| 26 | */ |
||
| 27 | protected $revision; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * RevisionPublishedEvent constructor. |
||
| 31 | * |
||
| 32 | * @param RevisionInterface $revision |
||
| 33 | */ |
||
| 34 | public function __construct(RevisionInterface $revision) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @return RevisionInterface |
||
| 41 | */ |
||
| 42 | public function getRevision(): RevisionInterface |
||
| 46 | } |
||
| 47 |