Overview

Namespaces

  • DcGeneral
    • Clipboard
    • Contao
      • Callback
      • Compatibility
      • DataDefinition
        • Definition
      • Dca
        • Builder
          • Legacy
        • Definition
        • Palette
        • Populator
      • Event
      • View
        • Contao2BackendView
          • Event
    • Controller
    • Data
    • DataDefinition
      • Builder
      • Definition
        • Properties
        • View
          • Panel
      • ModelRelationship
      • Palette
        • Builder
          • Event
        • Condition
          • Palette
          • Property
    • EnvironmentPopulator
    • Event
    • Exception
    • Factory
      • Event
    • Panel
    • View
      • Event

Classes

  • BuildDataDefinitionEvent
  • CreateDcGeneralEvent
  • PopulateEnvironmentEvent
  • Overview
  • Namespace
  • Class
  • Tree
  • Deprecated
  • Todo
 1: <?php
 2: /**
 3:  * PHP version 5
 4:  * @package    generalDriver
 5:  * @author     Christian Schiffler <c.schiffler@cyberspectrum.de>
 6:  * @author     Stefan Heimes <stefan_heimes@hotmail.com>
 7:  * @author     Tristan Lins <tristan.lins@bit3.de>
 8:  * @copyright  The MetaModels team.
 9:  * @license    LGPL.
10:  * @filesource
11:  */
12: 
13: namespace DcGeneral\Factory\Event;
14: 
15: use DcGeneral\DcGeneral;
16: use Symfony\Component\EventDispatcher\Event;
17: 
18: /**
19:  * This event is emitted when a DcGeneral instance has been created.
20:  *
21:  * @package DcGeneral\Factory\Event
22:  */
23: class CreateDcGeneralEvent extends Event
24: {
25:     const NAME = 'dc-general.factory.create-dc-general';
26: 
27:     /**
28:      * The instance that has been created.
29:      *
30:      * @var DcGeneral
31:      */
32:     protected $dcGeneral;
33: 
34:     /**
35:      * Create a new instance.
36:      *
37:      * @param DcGeneral $dcGeneral The DcGeneral instance.
38:      */
39:     public function __construct(DcGeneral $dcGeneral)
40:     {
41:         $this->dcGeneral = $dcGeneral;
42:     }
43: 
44:     /**
45:      * Retrieve the DcGeneral instance.
46:      *
47:      * @return DcGeneral
48:      */
49:     public function getDcGeneral()
50:     {
51:         return $this->dcGeneral;
52:     }
53: }
54: 
contao-community-alliance/dc-general API documentation generated by ApiGen 2.8.0