Skip to content

UserTask


Properties

cliDoc

public string $cliDoc

Inherited methods

beforeExecuteRoute

public beforeExecuteRoute(): void

helpAction

public helpAction(): void

mainAction

public mainAction(): ?array

afterExecuteRoute

Handle rest response automagically

public afterExecuteRoute(\Phalcon\Cli\Dispatcher $dispatcher): void

Parameters:

Parameter Type Description
$dispatcher \Phalcon\Cli\Dispatcher

Throws:


initialize

public initialize(): void

getDefinitions

Retrieves an array of class definitions mapped to their respective configurations.

public getDefinitions(): array<string,array<string,string|callable>>

createAction

final public createAction(string $email, ?string $password = null): (array|int|mixed)[]
  • This method is final. Parameters:
Parameter Type Description
$email string
$password ?string

roleAction

final public roleAction(string $email, string $role): (array|int|mixed)[]
  • This method is final. Parameters:
Parameter Type Description
$email string
$role string

passwordAction

final public passwordAction(?string $username = null, ?string $password = null): array
  • This method is final. Parameters:
Parameter Type Description
$username ?string
$password ?string

addModelsPermissions

public addModelsPermissions(?array $tables = null): void

Parameters:

Parameter Type Description
$tables ?array