eZPublishCommunityProject  2013.4
eZ\Publish\Core\SignalSlot\SlotFactory\GeneralSlotFactory Class Reference

Slot factory that is able to lookup slots based on identifier. More...

+ Inheritance diagram for eZ\Publish\Core\SignalSlot\SlotFactory\GeneralSlotFactory:
+ Collaboration diagram for eZ\Publish\Core\SignalSlot\SlotFactory\GeneralSlotFactory:

Public Member Functions

 __construct (array $slots=array())
 
 getSlot ($slotIdentifier)
 Returns a Slot with the given $slotIdentifier. More...
 
- Public Member Functions inherited from eZ\Publish\Core\SignalSlot\SlotFactory
 getSlot ($slotIdentifier)
 Returns a Slot with the given $slotIdentifier. More...
 

Protected Attributes

 $slots = array()
 

Detailed Description

Slot factory that is able to lookup slots based on identifier.

Deprecated:
To be removed when unit test runs on Sf stack, and ContainerSlotFactory is used everywhere.

Constructor & Destructor Documentation

eZ\Publish\Core\SignalSlot\SlotFactory\GeneralSlotFactory::__construct ( array  $slots = array())
Parameters
\eZ\Publish\Core\SignalSlot\Slot[]$slots

Member Function Documentation

eZ\Publish\Core\SignalSlot\SlotFactory\GeneralSlotFactory::getSlot (   $slotIdentifier)

Returns a Slot with the given $slotIdentifier.

Parameters
string$slotIdentifier
Exceptions
\eZ\Publish\Core\Base\Exceptions\NotFoundExceptionWhen no slot is found
Returns

Member Data Documentation

eZ\Publish\Core\SignalSlot\SlotFactory\GeneralSlotFactory::$slots = array()
protected

The documentation for this class was generated from the following file: