class Customer extends BaseAction implements EventSubscriberInterface

customer class where all actions are managed

Class Customer

Methods

mixed
genericToggleVisibility( ModelCriteria $query, ToggleVisibilityEvent $event, EventDispatcherInterface $dispatcher = null)

Toggle visibility for an object

from  BaseAction
__construct( SecurityContext $securityContext, MailerFactory $mailer)

No description

create( CustomerCreateOrUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

modify( CustomerCreateOrUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

updateProfile( CustomerCreateOrUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

No description

delete( CustomerEvent $event)

No description

login( CustomerLoginEvent $event)

No description

logout( ActionEvent $event)

Perform user logout. The user is redirected to the provided view, if any.

lostPassword( LostPasswordEvent $event)

No description

static 
getSubscribedEvents()

{@inheritdoc}

Details

in BaseAction at line 130
mixed genericToggleVisibility( ModelCriteria $query, ToggleVisibilityEvent $event, EventDispatcherInterface $dispatcher = null)

Toggle visibility for an object

Parameters

ModelCriteria $query
ToggleVisibilityEvent $event
EventDispatcherInterface $dispatcher

Return Value

mixed

at line 48
__construct( SecurityContext $securityContext, MailerFactory $mailer)

Parameters

SecurityContext $securityContext
MailerFactory $mailer

at line 54
create( CustomerCreateOrUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

CustomerCreateOrUpdateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 71
modify( CustomerCreateOrUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

CustomerCreateOrUpdateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 86
updateProfile( CustomerCreateOrUpdateEvent $event, $eventName, EventDispatcherInterface $dispatcher)

Parameters

CustomerCreateOrUpdateEvent $event
$eventName
EventDispatcherInterface $dispatcher

at line 129
delete( CustomerEvent $event)

Parameters

CustomerEvent $event

at line 171
login( CustomerLoginEvent $event)

Parameters

CustomerLoginEvent $event

at line 186
logout( ActionEvent $event)

Perform user logout. The user is redirected to the provided view, if any.

Parameters

ActionEvent $event

at line 191
lostPassword( LostPasswordEvent $event)

Parameters

LostPasswordEvent $event

at line 208
static getSubscribedEvents()

{@inheritdoc}