/** * Publish the assets for a given package name. * * @param string $package * @return void */ protected function publishAssets($package) { if (!is_null($path = $this->getPath())) { $this->assets->publish($package, $path); } else { $this->assets->publishPackage($package); } $this->output->writeln('<info>Assets published for package:</info> ' . $package); }
/** * Execute the console command. * * @return void */ public function fire() { $package = $this->input->getArgument('package'); if (!is_null($path = $this->getPath())) { $this->config->publish($package, $path); } else { $this->config->publishPackage($package); } $this->output->writeln('<info>Configuration published for package:</info> ' . $package); }
/** * Execute the console command. * * @return void */ public function fire() { $package = $this->getPackage(); if (!is_null($path = $this->getPath())) { $this->assets->publish($package, $path); } else { $this->assets->publishPackage($package); } $this->output->writeln('<info>Assets published for package:</info> ' . $package); }
/** * Execute the console command. * * @return void */ public function fire() { $package = 'barryvdh/laravel-elfinder'; if (!is_null($path = $this->getPath())) { $this->assets->publish($package, $path); $this->info('Assets published for package: ' . $package); } else { $this->error('Could not find path for: ' . $package); } }
/** * Execute the console command. * * @return void */ public function fire() { $package = 'ahmadazimi/laravel-media-manager'; if (!is_null($path = $this->getPath())) { $this->assets->publish($package, $path); $this->info('Assets published for package: ' . $package); } else { $this->error('Could not find path for: ' . $package); } }
/** * Execute the console command. * * @return void */ public function fire() { $package = 'maximebf/php-debugbar'; if (!is_null($path = $this->getDebugBarPath())) { $this->assets->publish($package, $path); $this->info('Assets published for package: ' . $package); } else { $this->error('Could not find path for: ' . $package); } $this->assets->publish('barryvdh/laravel-debugbar', $this->getPackagePublicPath()); $this->info('Assets published for package: barryvdh/laravel-debugbar'); }