- Show a
Run...
codeLens before exec method - When click
Run ...
,new the class of the php file, and invoke exec method.
laravel thinker
install in local
This extension contributes the following settings:
php-runner.methodNames
: set the method which will showRun ...
,default"exec"
, and you can set more than one by a array like["exec", "run"]
php-runner.beforeInvoke
: Do somethings before invoke the method. example:$instance->consoleOutput = new Symfony\\Component\\Console\\Output\\ConsoleOutput();
None
First release.
add Setting: php-runner.beforeInvoke