Artisan.php 1.5 KB

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