Zend Framework  3.0
Public Member Functions | List of all members
OptimizeByFactor Class Reference

Public Member Functions

 attach (EventManagerInterface $events, $priority=1)
 Attach one or more listeners.Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.
Parameters
EventManagerInterface$events
int$priority
Returns
void

 
 optimizeByFactor (PostEvent $event)
 Optimize by factor on a success _RESULT_.
 
- Public Member Functions inherited from AbstractPlugin
 setOptions (PluginOptions $options)
 Set pattern options.
 
 getOptions ()
 Get all pattern options.
 
- Public Member Functions inherited from AbstractListenerAggregate
 detach (EventManagerInterface $events)
 Detach all previously attached listeners.
Parameters
EventManagerInterface$events
Returns
void

 

Additional Inherited Members

- Protected Attributes inherited from AbstractPlugin
 $options
 

Member Function Documentation

attach ( EventManagerInterface  $events,
  $priority = 1 
)

Attach one or more listeners.Implementors may add an optional $priority argument; the EventManager implementation will pass this to the aggregate.

Parameters
EventManagerInterface$events
int$priority
Returns
void

Implements ListenerAggregateInterface.

optimizeByFactor ( PostEvent  $event)

Optimize by factor on a success _RESULT_.

Parameters
PostEvent$event
Returns
void