CronTask
- Full name:
\Zemit\Modules\Cli\Tasks\CronTask
- Parent class:
\Zemit\Modules\Cli\Task
Properties
cliDoc
public string $cliDoc
Methods
mainAction
public mainAction(): ?array
hourlyAction
public hourlyAction(): ?array
dailyAction
public dailyAction(): ?array
weeklyAction
public weeklyAction(): ?array
monthlyAction
public monthlyAction(): ?array
Inherited methods
beforeExecuteRoute
public beforeExecuteRoute(): void
helpAction
public helpAction(): void
mainAction
public mainAction(): ?array
normalizeResponse
public normalizeResponse(bool $response = true, ?int $code = null, ?string $status = null): array
Parameters:
Parameter | Type | Description |
---|---|---|
$response | bool | |
$code | ?int | |
$status | ?string |
afterExecuteRoute
Handle rest response automagically
public afterExecuteRoute(\Phalcon\Cli\Dispatcher $dispatcher): void
Parameters:
Parameter | Type | Description |
---|---|---|
$dispatcher | \Phalcon\Cli\Dispatcher |
Throws: