AbstractTask
- Full name:
\Zemit\Modules\Cli\Tasks\AbstractTask
- Parent class:
\Zemit\Modules\Cli\Task
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: