From 710f54c0156c5fa081bc6af1a68e7cb44723939b Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 24 Jan 2022 19:34:26 +0100 Subject: add example in laravel --- Year_3/TSDWL/LARAVEL/iBook/artisan | 53 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100755 Year_3/TSDWL/LARAVEL/iBook/artisan (limited to 'Year_3/TSDWL/LARAVEL/iBook/artisan') diff --git a/Year_3/TSDWL/LARAVEL/iBook/artisan b/Year_3/TSDWL/LARAVEL/iBook/artisan new file mode 100755 index 0000000..67a3329 --- /dev/null +++ b/Year_3/TSDWL/LARAVEL/iBook/artisan @@ -0,0 +1,53 @@ +#!/usr/bin/env php +make(Illuminate\Contracts\Console\Kernel::class); + +$status = $kernel->handle( + $input = new Symfony\Component\Console\Input\ArgvInput, + new Symfony\Component\Console\Output\ConsoleOutput +); + +/* +|-------------------------------------------------------------------------- +| Shutdown The Application +|-------------------------------------------------------------------------- +| +| Once Artisan has finished running, we will fire off the shutdown events +| so that any final work may be done by the application before we shut +| down the process. This is the last thing to happen to the request. +| +*/ + +$kernel->terminate($input, $status); + +exit($status); -- cgit v1.2.3-18-g5258