app/Console/Commands/FindMovies.php
/**
     * Execute the console command.
     *
     * @return mixed
     */
Execute the console command.
@return mixed
Execute the console command . @return mixed
public function handle()
    {
        $id=$this->argument('id');
        $pelicula=Pelicula::findOrFail($id);
        echo "Película encontrada, ".$pelicula->titulo;
    }
public function handle ( ) { $ id = $ this -> argument ( 'id' ) ; $ pelicula = Pelicula :: findOrFail ( $ id ) ; echo " Película encontrada, " . $ p elicula- >t itulo; }
Execute the console command.
Execute the console command .