HelpTask
- Full name:
\Zemit\Modules\Cli\Tasks\HelpTask
- Parent class:
\Zemit\Modules\Cli\Task
Properties
cliDoc
public string $cliDoc
Methods
buildAction
Build Action
public buildAction(): void
This method executes the build action by forwarding the request to the build task's help action.
Throws:
if there is an error during the forwarding process
cronAction
Cron Action
public cronAction(): void
This method executes the cron action by forwarding the request to the cron task's help action.
Throws:
if there is an error during the forwarding process
cacheAction
Cache Action
public cacheAction(): void
This method executes the cache action by forwarding the request to the cache task's help action.
Throws:
if there is an error during the forwarding process
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: