Artisan.php 1.1 KB

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