예제 #1
0
 /**
  * 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);
 }
예제 #2
0
 /**
  * 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);
 }
예제 #4
0
 /**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $package = $this->input->getArgument('package');
     $this->assets->publishPackage($package);
     $this->output->writeln('<info>Assets published for package:</info> ' . $package);
 }