ConsoleEvent

class OCP\Console\ConsoleEvent
Class ConsoleEvent
Source:lib/public/Console/ConsoleEvent.php#34
Parent:OCP\EventDispatcher\Event

Constants

EVENT_RUN = OC\Console\Application::run
Source:lib/public/Console/ConsoleEvent.php#39
Deprecated:22.0.0

Properties

protected static property OCP\Console\ConsoleEvent::$event
Source:lib/public/Console/ConsoleEvent.php#42
Type:string
protected static property OCP\Console\ConsoleEvent::$arguments
Source:lib/public/Console/ConsoleEvent.php#45
Type:string[]

Methods

public OCP\Console\ConsoleEvent::__construct($event, $arguments)
DispatcherEvent constructor.
Source:

lib/public/Console/ConsoleEvent.php#54

Parameters:
  • $event (string)
  • $arguments (string[])
Since:

9.0.0

public OCP\Console\ConsoleEvent::getEvent()
Source:lib/public/Console/ConsoleEvent.php#63
Returns:string
Since:9.0.0
public OCP\Console\ConsoleEvent::getArguments()
Source:lib/public/Console/ConsoleEvent.php#71
Returns:string[]
Since:9.0.0