public static function searchMovie($title)
 {
     return MovieDataService::searchMovie($title);
 }
示例#2
0
 /**
  * Execute the console command.
  *
  * @return mixed
  */
 public function handle()
 {
     $this->comment('Start refreshing top ten');
     MovieDataService::getTopTen();
     $this->comment('Refreshing done!');
 }
示例#3
0
 public function refresh()
 {
     MovieDataService::getTopTen();
 }