프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 | ||
리턴 |