| 1 | <?php |
||
| 18 | class TrashEvent extends ModelEvent |
||
| 19 | { |
||
| 20 | |||
| 21 | /** |
||
| 22 | * |
||
| 23 | * @var TrashInterface |
||
| 24 | */ |
||
| 25 | private $trash = null; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Get trash model used to store trashed data. |
||
| 29 | * @return TrashInterface |
||
| 30 | */ |
||
| 31 | public function getTrash() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * Set trash model used to store trashed data. |
||
| 38 | * @param TrashInterface $trash |
||
| 39 | * @return \Maslosoft\Mangan\Events\TrashEvent |
||
| 40 | */ |
||
| 41 | public function setTrash(TrashInterface $trash) |
||
| 46 | |||
| 47 | } |
||
| 48 |