| 1 | <?php |
||
| 15 | final class NamedEvent extends AbstractEvent |
||
| 16 | { |
||
| 17 | /** The output socket. */ |
||
| 18 | const SOCKET_OUT = 'out'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Initializes a new instance of this class. |
||
| 22 | */ |
||
| 23 | public function __construct($name) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Executes the node's logic. |
||
| 34 | * |
||
| 35 | * @return NodeInterface |
||
| 36 | */ |
||
| 37 | public function execute() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Gets the name of the event. |
||
| 44 | * |
||
| 45 | * @return string |
||
| 46 | */ |
||
| 47 | public function getName() |
||
| 51 | } |
||
| 52 |