UserTrait
- Full name:
\PhalconKit\Modules\Cli\Tasks\Traits\UserTrait
Properties
tables
Methods
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 | |