| Total Complexity | 3 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 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) |
||
| 19 | { |
||
| 20 | $this->migrator = $migrator; |
||
| 21 | parent::__construct($migrator->getDomain()); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Get destination path. |
||
| 26 | * |
||
| 27 | * @return string |
||
| 28 | */ |
||
| 29 | public function getDestinationPath() |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Get source path. |
||
| 36 | * |
||
| 37 | * @return string |
||
| 38 | */ |
||
| 39 | public function getSourcePath() |
||
| 44 |