/** * Create a new migration install command instance. * * @param \Illuminate\Database\Migrations\MigrationRepositoryInterface $repository * * @return void */ public function __construct(MigrationRepositoryInterface $repository) { parent::__construct($repository); $this->website = App::make('Hyn\\MultiTenant\\Contracts\\WebsiteRepositoryContract'); }
/** * Create a new migration install command instance. * Overridden to add Core reference. * * @param MigrationRepositoryInterface $repository * @param CoreInterface $core */ public function __construct(MigrationRepositoryInterface $repository, CoreInterface $core) { parent::__construct($repository); $this->core = $core; }