| 1 | <?php |
| 2 | |
| 3 | namespace Illuminate\Support\Facades; |
| 4 | |
| 5 | use Illuminate\Contracts\Console\Kernel as ConsoleKernelContract; |
| 6 | |
| 7 | /** |
| 8 | * @method static int handle(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface|null $output = null) |
| 9 | * @method static void terminate(\Symfony\Component\Console\Input\InputInterface $input, int $status) |
| 10 | * @method static void whenCommandLifecycleIsLongerThan(\DateTimeInterface|\Carbon\CarbonInterval|float|int $threshold, callable $handler) |
| 11 | * @method static \Illuminate\Support\Carbon|null commandStartedAt() |
| 12 | * @method static \Illuminate\Console\Scheduling\Schedule resolveConsoleSchedule() |
| 13 | * @method static \Illuminate\Foundation\Console\ClosureCommand command(string $signature, \Closure $callback) |
| 14 | * @method static void registerCommand(\Symfony\Component\Console\Command\Command $command) |
| 15 | * @method static int call(\Symfony\Component\Console\Command\Command|string $command, array $parameters = [], \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer = null) |
| 16 | * @method static \Illuminate\Foundation\Bus\PendingDispatch queue(string $command, array $parameters = []) |
| 17 | * @method static array all() |
| 18 | * @method static string output() |
| 19 | * @method static void bootstrap() |
| 20 | * @method static void bootstrapWithoutBootingProviders() |
| 21 | * @method static void setArtisan(\Illuminate\Console\Application|null $artisan) |
| 22 | * @method static \Illuminate\Foundation\Console\Kernel addCommands(array $commands) |
| 23 | * @method static \Illuminate\Foundation\Console\Kernel addCommandPaths(array $paths) |
| 24 | * @method static \Illuminate\Foundation\Console\Kernel addCommandRoutePaths(array $paths) |
| 25 | * |
| 26 | * @see \Illuminate\Foundation\Console\Kernel |
| 27 | */ |
| 28 | class Artisan extends Facade |
| 29 | { |
| 30 | /** |
| 31 | * Get the registered name of the component. |
| 32 | * |
| 33 | * @return string |
| 34 | */ |
| 35 | protected static function getFacadeAccessor() |
| 36 | { |
| 37 | return ConsoleKernelContract::class; |
| 38 | } |
| 39 | } |