| 1 | <?php |
||
| 7 | class MigrationPublisher extends AssetPublisher |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Migrator |
||
| 11 | */ |
||
| 12 | private $migrator; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * MigrationPublisher constructor. |
||
| 16 | * @param Migrator $migrator |
||
| 17 | */ |
||
| 18 | public function __construct(Migrator $migrator) |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get destination path. |
||
| 26 | * |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | public function getDestinationPath() |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get source path. |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getSourcePath() |
||
| 43 | } |
||
| 44 |