프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$em | Bolt\Storage\EntityManagerInterface | ||
$filesystem | Bolt\Filesystem\FilesystemInterface | ||
$sessionStorage | Bolt\Session\SessionStorage |
메소드 | 설명 | |
---|---|---|
__construct ( Bolt\Filesystem\FilesystemInterface $filesystem, Bolt\Session\SessionStorage $sessionStorage, Bolt\Storage\EntityManagerInterface $em ) | Constructor. | |
getSubscribedEvents ( ) | ||
onStorageEventPostSave ( Bolt\Events\StorageEvent $event ) | Remove sessions & authtokens when a user is disabled. | |
onStorageEventPreDelete ( Bolt\Events\StorageEvent $event ) | Remove sessions & authtokens when a user is deleted. |
메소드 | 설명 | |
---|---|---|
deleteAuthtokens ( Bolt\Storage\Entity\Users $user ) | Delete any save authtokens for a user. | |
deleteSessions ( Bolt\Storage\Entity\Users $user ) | Delete active session files for a user. |
public __construct ( Bolt\Filesystem\FilesystemInterface $filesystem, Bolt\Session\SessionStorage $sessionStorage, Bolt\Storage\EntityManagerInterface $em ) | ||
$filesystem | Bolt\Filesystem\FilesystemInterface | |
$sessionStorage | Bolt\Session\SessionStorage | |
$em | Bolt\Storage\EntityManagerInterface |
public onStorageEventPostSave ( Bolt\Events\StorageEvent $event ) | ||
$event | Bolt\Events\StorageEvent |
public onStorageEventPreDelete ( Bolt\Events\StorageEvent $event ) | ||
$event | Bolt\Events\StorageEvent |
protected EntityManagerInterface,Bolt\Storage $em | ||
리턴 | Bolt\Storage\EntityManagerInterface |
protected FilesystemInterface,Bolt\Filesystem $filesystem | ||
리턴 | Bolt\Filesystem\FilesystemInterface |