Oihana PHP Arango

PasswordResetsModelTrait

Standalone trait for the `password_resets` Documents model dependency.

Used by controllers / commands that need to persist or consume password-reset request records (custom reset flow — request, accept, confirm).

Tags
author

Marc Alcaraz

Table of Contents

Constants

PASSWORD_RESETS_MODEL  : string = 'passwordResetsModel'
Initialization key for the password_resets Documents model.

Properties

$passwordResetsModel  : Documents|null
The password_resets Documents model.

Methods

initializePasswordResetsModel()  : static
Initializes the password_resets model dependency from the $init array.

Constants

PASSWORD_RESETS_MODEL

Initialization key for the password_resets Documents model.

public string PASSWORD_RESETS_MODEL = 'passwordResetsModel'

Properties

Methods

initializePasswordResetsModel()

Initializes the password_resets model dependency from the $init array.

protected initializePasswordResetsModel(array<string|int, mixed> $init, Container|null $container) : static
Parameters
$init : array<string|int, mixed>

The initialization array.

$container : Container|null

The DI container.

Tags
throws
ContainerExceptionInterface
NotFoundExceptionInterface
Return values
static
On this page

Search results