class UserLifeCycleSubscriber implements EventSubscriber (View source)

Methods

__construct(Container $container)

UserLifeCycleSubscriber constructor.

getSubscribedEvents()

{@inheritdoc}

preUpdate(PreUpdateEventArgs $event)

No description

setPassword(User $user, $plainPassword)

No description

postUpdate(LifecycleEventArgs $event)

No description

postRemove(LifecycleEventArgs $event)

No description

postPersist(LifecycleEventArgs $event)

No description

prePersist(LifecycleEventArgs $event)

No description

Details

__construct(Container $container)

UserLifeCycleSubscriber constructor.

Parameters

Container $container

getSubscribedEvents()

{@inheritdoc}

preUpdate(PreUpdateEventArgs $event)

Parameters

PreUpdateEventArgs $event

protected setPassword(User $user, $plainPassword)

Parameters

User $user
$plainPassword

postUpdate(LifecycleEventArgs $event)

Parameters

LifecycleEventArgs $event

postRemove(LifecycleEventArgs $event)

Parameters

LifecycleEventArgs $event

postPersist(LifecycleEventArgs $event)

Parameters

LifecycleEventArgs $event

prePersist(LifecycleEventArgs $event)

Parameters

LifecycleEventArgs $event