Exponential 5.x Kernel 7.5.40 Exponential New Stack (Symfony-based) Kernel — PHP Class Reference

Public Member Functions | Protected Attributes | List of all members
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:

## Public Member Functions
| __construct (array $slots=[])
| getSlot ($slotIdentifier)
| Returns a Slot with the given $slotIdentifier. More...

## Protected Attributes
| $slots = []

## Detailed Description

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

Deprecated:
  Slot factories are not needed any more.

Definition at line 18 of file GeneralSlotFactory.php.

## Constructor & Destructor Documentation

## ◆ __construct()

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

Parameters

  \eZ\Publish\Core\SignalSlot\Slot[] | $slots |

Definition at line 26 of file GeneralSlotFactory.php.

References eZ\Publish\Core\SignalSlot\SlotFactory\GeneralSlotFactory\$slots.

## Member Function Documentation

## ◆ getSlot()

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

Returns a Slot with the given $slotIdentifier.

Parameters

  string | $slotIdentifier |

Exceptions

Reimplemented from eZ\Publish\Core\SignalSlot\SlotFactory.

Definition at line 40 of file GeneralSlotFactory.php.

## Member Data Documentation

## ◆ $slots

eZ\Publish\Core\SignalSlot\SlotFactory\GeneralSlotFactory::$slots = []
| protected

Definition at line 21 of file GeneralSlotFactory.php.

Referenced by eZ\Publish\Core\SignalSlot\SlotFactory\GeneralSlotFactory\__construct().

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

- GeneralSlotFactory.php

Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.