Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method Laravoole\Commands\LaravooleCommand::handle() does not exist #68

Open
huangxingle2009 opened this issue Dec 19, 2017 · 2 comments

Comments

@huangxingle2009
Copy link

laravel 5.5 启动时候: Method Laravoole\Commands\LaravooleCommand::handle() does not exist

@koriss
Copy link

koriss commented Apr 11, 2018

yes, help me to,
laravel 5.6 + laravoole

   ReflectionException  : Method Laravoole\Commands\LaravooleCommand::handle() does not exist

  at /code/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:136
    132|             $callback = explode('::', $callback);
    133|         }
    134| 
    135|         return is_array($callback)
  > 136|                         ? new ReflectionMethod($callback[0], $callback[1])
    137|                         : new ReflectionFunction($callback);
    138|     }
    139|     /**
    140|      * Get the dependency for the given call parameter.

  Exception trace:

  1   ReflectionMethod::__construct(Object(Laravoole\Commands\LaravooleCommand), "handle")
      /code/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:136

  2   Illuminate\Container\BoundMethod::getCallReflector()
      /code/laravel/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:116

  Please use the argument -v to see more details.

@xHelg
Copy link

xHelg commented Apr 22, 2018

/Laravel/vendor/garveen/laravoole/src/Commands/LaravooleCommand.php

add

public function handle()
{
$this->fire();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants