| 1 | <?php |
||
| 25 | class TrashEvent extends ModelEvent |
||
| 26 | { |
||
| 27 | |||
| 28 | /** |
||
| 29 | * |
||
| 30 | * @var TrashInterface |
||
| 31 | */ |
||
| 32 | private $trash = null; |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get trash model used to store trashed data. |
||
| 36 | * @return TrashInterface |
||
| 37 | */ |
||
| 38 | 1 | public function getTrash() |
|
| 42 | |||
| 43 | /** |
||
| 44 | * Set trash model used to store trashed data. |
||
| 45 | * @param TrashInterface $trash |
||
| 46 | * @return TrashEvent |
||
| 47 | */ |
||
| 48 | 1 | public function setTrash(TrashInterface $trash) |
|
| 53 | |||
| 54 | } |
||
| 55 |