recca0120 / laravel-terminal

Runs artisan command in web application
MIT License
846 stars 55 forks source link

does not have a method "whenCommandLifecycleIsLongerThan" #78

Open mhmiton opened 4 weeks ago

mhmiton commented 4 weeks ago

call_user_func_array(): Argument #1 ($callback) must be a valid callback, class Recca0120\Terminal\Application does not have a method "whenCommandLifecycleIsLongerThan"

Laravel: 11.11

mhmiton commented 4 weeks ago

This works when extends the Kernel class with \Illuminate\Foundation\Console\Kernel.

class Kernel implements KernelContract

to

class Kernel extends \Illuminate\Foundation\Console\Kernel