Application

class OC\Console\Application
Source:lib/private/Console/Application.php#49

Properties

Methods

public OC\Console\Application::__construct($config, $dispatcher, $request, $logger, $memoryInfo)
Source:lib/private/Console/Application.php#61
public OC\Console\Application::loadCommands($input, $output)
Source:

lib/private/Console/Application.php#80

Parameters:
  • $input (Symfony\Component\Console\Input\InputInterface)
  • $output (Symfony\Component\Console\Output\ConsoleOutputInterface)
Throws:

\Exception

public OC\Console\Application::setAutoExit($boolean)
Sets whether to automatically exit after a command execution or not.
Source:

lib/private/Console/Application.php#195

Parameters:
  • $boolean (bool) Whether to automatically exit after a command execution or not
public OC\Console\Application::run($input=null, $output=null)
Source:

lib/private/Console/Application.php#205

Parameters:
  • $input (Symfony\Component\Console\Input\InputInterface)
  • $output (Symfony\Component\Console\Output\OutputInterface)
Returns:

int

Throws:

\Exception