Schedule
class Schedule extends Facade (View source)
Properties
static protected Application|null | $app | The application instance being facaded. |
from Facade |
static protected array | $resolvedInstance | The resolved object instances. |
from Facade |
static protected bool | $cached | Indicates if the resolved instance should be cached. |
from Facade |
Methods
Create a fresh mock instance for the given class.
Get the registered name of the component.
Resolve the facade root instance from the container.
Get the application instance behind the facade.
Handle dynamic, static calls to the object.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
in
Facade at line 47
static void
resolved(Closure $callback)
Run a Closure when the facade has been resolved.
in
Facade at line 65
static MockInterface
spy()
Convert the facade into a Mockery spy.
in
Facade at line 81
static MockInterface
partialMock()
Initiate a partial mock on the facade.
in
Facade at line 97
static Expectation
shouldReceive()
Initiate a mock expectation on the facade.
static Expectation
expects()
Initiate a mock expectation on the facade.
static protected MockInterface
createFreshMockInstance()
Create a fresh mock instance for the given class.
static protected MockInterface
createMock()
Create a fresh mock instance for the given class.
static protected bool
isMock()
Determines whether a mock is set as the instance of the facade.
static protected string|null
getMockableClass()
Get the mockable class for the bound instance.
static void
swap(mixed $instance)
Hotswap the underlying instance behind the facade.
static bool
isFake()
Determines whether a "fake" has been set as the facade instance.
static mixed
getFacadeRoot()
Get the root object behind the facade.
static protected string
getFacadeAccessor()
Get the registered name of the component.
static protected mixed
resolveFacadeInstance(string $name)
Resolve the facade root instance from the container.
static void
clearResolvedInstance(string $name)
Clear a resolved facade instance.
static void
clearResolvedInstances()
Clear all of the resolved instances.
static Collection
defaultAliases()
Get the application default aliases.
static Application|null
getFacadeApplication()
Get the application instance behind the facade.
static void
setFacadeApplication(Application|null $app)
Set the application instance.
static mixed
__callStatic(string $method, array $args)
Handle dynamic, static calls to the object.
static CallbackEvent
call(string|callable $callback, array $parameters = [])
No description
static Event
command(string $command, array $parameters = [])
No description
static CallbackEvent
job(object|string $job, string|null $queue = null, string|null $connection = null)
No description
static Event
exec(string $command, array $parameters = [])
No description
static void
group(Closure $events)
No description
static string
compileArrayInput(string|int $key, array $value)
No description
static bool
serverShouldRun(Event $event, DateTimeInterface $time)
No description
static Collection
dueEvents(Application $app)
No description
static Event[]
events()
No description
static Schedule
useCache(string $store)
No description
static void
macro(string $name, object|callable $macro)
No description
static void
mixin(object $mixin, bool $replace = true)
No description
static bool
hasMacro(string $name)
No description
static void
flushMacros()
No description
static mixed
macroCall(string $method, array $parameters)
No description
static PendingEventAttributes
withoutOverlapping(int $expiresAt = 1440)
No description
static void
mergeAttributes(Event $event)
No description
static PendingEventAttributes
user(string $user)
No description
static PendingEventAttributes
environments(array|mixed $environments)
No description
static PendingEventAttributes
evenInMaintenanceMode()
No description
static PendingEventAttributes
onOneServer()
No description
static PendingEventAttributes
runInBackground()
No description
static PendingEventAttributes
when(Closure|bool $callback)
No description
static PendingEventAttributes
skip(Closure|bool $callback)
No description
static PendingEventAttributes
name(string $description)
No description
static PendingEventAttributes
description(string $description)
No description
static PendingEventAttributes
cron(string $expression)
No description
static PendingEventAttributes
between(string $startTime, string $endTime)
No description
static PendingEventAttributes
unlessBetween(string $startTime, string $endTime)
No description
static PendingEventAttributes
everySecond()
No description
static PendingEventAttributes
everyTwoSeconds()
No description
static PendingEventAttributes
everyFiveSeconds()
No description
static PendingEventAttributes
everyTenSeconds()
No description
static PendingEventAttributes
everyFifteenSeconds()
No description
static PendingEventAttributes
everyTwentySeconds()
No description
static PendingEventAttributes
everyThirtySeconds()
No description
static PendingEventAttributes
everyMinute()
No description
static PendingEventAttributes
everyTwoMinutes()
No description
static PendingEventAttributes
everyThreeMinutes()
No description
static PendingEventAttributes
everyFourMinutes()
No description
static PendingEventAttributes
everyFiveMinutes()
No description
static PendingEventAttributes
everyTenMinutes()
No description
static PendingEventAttributes
everyFifteenMinutes()
No description
static PendingEventAttributes
everyThirtyMinutes()
No description
static PendingEventAttributes
hourly()
No description
static PendingEventAttributes
hourlyAt(array|string|int $offset)
No description
static PendingEventAttributes
everyOddHour(array|string|int $offset)
No description
static PendingEventAttributes
everyTwoHours(array|string|int $offset)
No description
static PendingEventAttributes
everyThreeHours(array|string|int $offset)
No description
static PendingEventAttributes
everyFourHours(array|string|int $offset)
No description
static PendingEventAttributes
everySixHours(array|string|int $offset)
No description
static PendingEventAttributes
daily()
No description
static PendingEventAttributes
at(string $time)
No description
static PendingEventAttributes
dailyAt(string $time)
No description
static PendingEventAttributes
twiceDaily(int $first = 1, int $second = 13)
No description
static PendingEventAttributes
twiceDailyAt(int $first = 1, int $second = 13, int $offset)
No description
static PendingEventAttributes
weekdays()
No description
static PendingEventAttributes
weekends()
No description
static PendingEventAttributes
mondays()
No description
static PendingEventAttributes
tuesdays()
No description
static PendingEventAttributes
wednesdays()
No description
static PendingEventAttributes
thursdays()
No description
static PendingEventAttributes
fridays()
No description
static PendingEventAttributes
saturdays()
No description
static PendingEventAttributes
sundays()
No description
static PendingEventAttributes
weekly()
No description
static PendingEventAttributes
weeklyOn(array|mixed $dayOfWeek, string $time = '0:0')
No description
static PendingEventAttributes
monthly()
No description
static PendingEventAttributes
monthlyOn(int $dayOfMonth = 1, string $time = '0:0')
No description
static PendingEventAttributes
twiceMonthly(int $first = 1, int $second = 16, string $time = '0:0')
No description
static PendingEventAttributes
lastDayOfMonth(string $time = '0:0')
No description
static PendingEventAttributes
quarterly()
No description
static PendingEventAttributes
quarterlyOn(int $dayOfQuarter = 1, string $time = '0:0')
No description
static PendingEventAttributes
yearly()
No description
static PendingEventAttributes
yearlyOn(int $month = 1, int|string $dayOfMonth = 1, string $time = '0:0')
No description
static PendingEventAttributes
days(array|mixed $days)
No description
static PendingEventAttributes
timezone(DateTimeZone|string $timezone)
No description