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\Contao\Callback;
14:
15: use DcGeneral\DC_General;
16:
17: /**
18: * Class ContainerOnCutCallbackListener.
19: *
20: * Handle callbacks to be invoked when a cut operation is made.
21: *
22: * @package DcGeneral\Contao\Callback
23: */
24: class ContainerOnCutCallbackListener extends AbstractStaticCallbackListener
25: {
26: /**
27: * Create a new instance of the listener.
28: *
29: * @param array|callable $callback The callback to call when invoked.
30: *
31: * @param DC_General $dcGeneral The DC_General instance to use in the callback.
32: */
33: public function __construct($callback, DC_General $dcGeneral)
34: {
35: parent::__construct($callback, $dcGeneral);
36: }
37: }
38: