December 7, 2016 —John Koster
The whereami
command can be used to approximate where you are currently executing code within your code base. Starting a fresh Tinker REPL session and issuing the whereami
command produces these results:
1>>> whereami 2 31| $kernel = $app->make(Illuminate\Contracts\Console\Kernel::class); 3 32| 4 33| $status = $kernel->handle( 5 34| $input = new Symfony\Component\Console\Input\ArgvInput, 6 35| new Symfony\Component\Console\Output\ConsoleOutput 7 > 36| ); 8 37| 9 38| /*10 39| |--------------------------------------------------------------------11 40| | Shutdown The Application12 41| |--------------------------------------------------------------------
∎