Свойство | Тип | Описание | |
---|---|---|---|
$hashStrength | integer | ||
$loggerFlash | Bolt\Logger\FlashLoggerInterface | ||
$passwordFactory | PasswordLib\Password\Factory | ||
$schemaManager | Bolt\Storage\Database\Schema\SchemaManagerInterface | ||
$timedRecord | |||
$timedRecordsEnabled | boolean | ||
$urlGenerator | Symfony\Component\Routing\Generator\UrlGeneratorInterface |
Метод | Описание | |
---|---|---|
__construct ( |
Constructor. | |
getSubscribedEvents ( ) | ||
onKernelRequest ( |
Kernel request listener callback. | |
onPostHydrate ( Bolt\Events\HydrationEvent $event ) | Post hydration storage event. | |
onUserEntityPreSave ( Bolt\Events\StorageEvent $event ) | Pre-save storage event for user entities. |
Метод | Описание | |
---|---|---|
passwordHash ( Bolt\Storage\Entity\Users $usersEntity ) | Hash user passwords on save. | |
schemaCheck ( |
Trigger database schema checks if required. |
Метод | Описание | |
---|---|---|
getValidHash ( string $password ) : string | Return a valid hash for a password, of if the password is already hashed just return as is. |
public __construct ( |
||
$timedRecord | ||
$schemaManager | Bolt\Storage\Database\Schema\SchemaManagerInterface | |
$urlGenerator | Symfony\Component\Routing\Generator\UrlGeneratorInterface | |
$loggerFlash | Bolt\Logger\FlashLoggerInterface | |
$passwordFactory | PasswordLib\Password\Factory | |
$hashStrength | integer | |
$timedRecordsEnabled | boolean |
public onKernelRequest ( |
||
$event |
public onPostHydrate ( Bolt\Events\HydrationEvent $event ) | ||
$event | Bolt\Events\HydrationEvent |
public onUserEntityPreSave ( Bolt\Events\StorageEvent $event ) | ||
$event | Bolt\Events\StorageEvent |
protected passwordHash ( Bolt\Storage\Entity\Users $usersEntity ) | ||
$usersEntity | Bolt\Storage\Entity\Users |
protected schemaCheck ( |
||
$event |
protected FlashLoggerInterface,Bolt\Logger $loggerFlash | ||
Результат | Bolt\Logger\FlashLoggerInterface |
protected Factory,PasswordLib\Password $passwordFactory | ||
Результат | PasswordLib\Password\Factory |
protected SchemaManagerInterface,Bolt\Storage\Database\Schema $schemaManager | ||
Результат | Bolt\Storage\Database\Schema\SchemaManagerInterface |
protected TimedRecord,Bolt\Storage\EventProcessor $timedRecord | ||
Результат |