| 1 | <?php |
||
| 21 | class MoveEvent extends Event |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Previous path. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | public $from; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * New path. |
||
| 32 | * |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | public $to; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * The event is constructed with the type `move`. |
||
| 39 | * |
||
| 40 | * @param File $target |
||
| 41 | * @param string $from Previous path. |
||
| 42 | * @param string $to New path. |
||
| 43 | */ |
||
| 44 | public function __construct(File $target, $from, $to) |
||
| 51 | } |
||
| 52 |