Exemplo n.º 1
0
 /**
  * Execute the console command.
  *
  * @param StreamRepositoryInterface $streams
  */
 public function fire(StreamRepositoryInterface $streams)
 {
     /* @var StreamInterface $stream */
     foreach ($streams->all() as $stream) {
         if ($streams->save($stream)) {
             $this->info($stream->getEntryModelName() . ' compiled successfully.');
         }
     }
 }