PATH:
home
/
lab2454c
/
costbloc.com
/
vendor
/
nwidart
/
laravel-modules
/
src
/
Publishing
<?php namespace Nwidart\Modules\Publishing; use Nwidart\Modules\Migrations\Migrator; class MigrationPublisher extends AssetPublisher { /** * @var Migrator */ private $migrator; /** * MigrationPublisher constructor. * @param Migrator $migrator */ public function __construct(Migrator $migrator) { $this->migrator = $migrator; parent::__construct($migrator->getModule()); } /** * Get destination path. * * @return string */ public function getDestinationPath() { return $this->repository->config('paths.migration'); } /** * Get source path. * * @return string */ public function getSourcePath() { return $this->migrator->getPath(); } }
[-] AssetPublisher.php
[edit]
[+]
..
[-] MigrationPublisher.php
[edit]
[-] LangPublisher.php
[edit]
[-] Publisher.php
[edit]