123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- <?php
- namespace OCP\Console;
- use OCP\EventDispatcher\Event;
- class ConsoleEvent extends Event {
-
- public const EVENT_RUN = 'OC\Console\Application::run';
-
- protected $event;
-
- protected $arguments;
-
- public function __construct($event, array $arguments) {
- $this->event = $event;
- $this->arguments = $arguments;
- }
-
- public function getEvent() {
- return $this->event;
- }
-
- public function getArguments() {
- return $this->arguments;
- }
- }
|