| 1 | <?php |
||
| 23 | class ContentListEvent extends Event |
||
| 24 | { |
||
| 25 | /** |
||
| 26 | * @var ContentListInterface |
||
| 27 | */ |
||
| 28 | protected $contentList; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var ContentListItemInterface |
||
| 32 | */ |
||
| 33 | protected $item; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * ContentListEvent constructor. |
||
| 37 | * |
||
| 38 | * @param ContentListInterface $contentList |
||
| 39 | * @param ContentListItemInterface $item |
||
| 40 | */ |
||
| 41 | 2 | public function __construct(ContentListInterface $contentList, ContentListItemInterface $item) |
|
| 46 | |||
| 47 | /** |
||
| 48 | * @return ContentListInterface |
||
| 49 | */ |
||
| 50 | 2 | public function getContentList(): ContentListInterface |
|
| 54 | |||
| 55 | /** |
||
| 56 | * @return ContentListItemInterface |
||
| 57 | */ |
||
| 58 | 1 | public function getItem(): ContentListItemInterface |
|
| 62 | } |
||
| 63 |