Closed GrahamCampbell closed 4 years ago
Closes #101. Depends on https://github.com/bobthecow/psysh/pull/630.
You can listen for events now by adding the following code to the boot method of your app service provider:
public function boot() { $this->callAfterResolving(Shell::class, function (Shell $shell) { $shell->addLoopListener(...); } }
Resubmit this when the upstream PR is merged. Thanks.
Closes #101. Depends on https://github.com/bobthecow/psysh/pull/630.
You can listen for events now by adding the following code to the boot method of your app service provider: