Schedule.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. namespace Illuminate\Support\Facades;
  3. use Illuminate\Console\Scheduling\Schedule as ConsoleSchedule;
  4. /**
  5. * @method static \Illuminate\Console\Scheduling\CallbackEvent call(string|callable $callback, array $parameters = [])
  6. * @method static \Illuminate\Console\Scheduling\Event command(string $command, array $parameters = [])
  7. * @method static \Illuminate\Console\Scheduling\CallbackEvent job(object|string $job, string|null $queue = null, string|null $connection = null)
  8. * @method static \Illuminate\Console\Scheduling\Event exec(string $command, array $parameters = [])
  9. * @method static string compileArrayInput(string|int $key, array $value)
  10. * @method static bool serverShouldRun(\Illuminate\Console\Scheduling\Event $event, \DateTimeInterface $time)
  11. * @method static \Illuminate\Support\Collection dueEvents(\Illuminate\Contracts\Foundation\Application $app)
  12. * @method static \Illuminate\Console\Scheduling\Event[] events()
  13. * @method static \Illuminate\Console\Scheduling\Schedule useCache(string $store)
  14. * @method static void macro(string $name, object|callable $macro)
  15. * @method static void mixin(object $mixin, bool $replace = true)
  16. * @method static bool hasMacro(string $name)
  17. * @method static void flushMacros()
  18. *
  19. * @see \Illuminate\Console\Scheduling\Schedule
  20. */
  21. class Schedule 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 ConsoleSchedule::class;
  31. }
  32. }