| 1 | <?php |
||
| 7 | class UploadRequest |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $sourcePath; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var string |
||
| 16 | */ |
||
| 17 | protected $destinationPath; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var Model |
||
| 21 | */ |
||
| 22 | protected $target; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * UploadRequest constructor. |
||
| 26 | * |
||
| 27 | * @param mixed $source |
||
| 28 | * @param null $destinationPath |
||
| 29 | */ |
||
| 30 | public function __construct($source, $destinationPath = null) |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getSourcePath() |
||
| 55 | |||
| 56 | /** |
||
| 57 | * @return string |
||
| 58 | */ |
||
| 59 | public function getDestinationPath() |
||
| 63 | |||
| 64 | /** |
||
| 65 | * @return Model |
||
| 66 | */ |
||
| 67 | public function getTarget() |
||
| 71 | } |