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\Event;
14:
15: use DcGeneral\DataDefinition\Definition\View\CommandInterface;
16: use DcGeneral\EnvironmentAwareInterface;
17:
18: /**
19: * This interface describes an event referencing an environment and a command.
20: *
21: * @package DcGeneral\Event
22: */
23: interface CommandEventInterface extends EnvironmentAwareInterface
24: {
25: /**
26: * Return the command.
27: *
28: * @return CommandInterface
29: */
30: public function getCommand();
31: }
32: