Elgg
Version 5.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
engine
classes
Elgg
Cli
Application.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Elgg\Cli
;
4
5
use
Symfony\Component\Console\Input\InputInterface
;
6
use
Symfony\Component\Console\Output\OutputInterface
;
7
11
class
Application
extends
\Symfony\Component\Console\Application {
12
21
public
function
setup
(InputInterface
$input
, OutputInterface
$output
) {
22
$this->configureIO($input, $output);
23
24
if
(!$output->isDecorated() && !$input->hasParameterOption([
'--no-ansi'
],
true
)) {
25
$output->setDecorated(
true
);
26
}
27
}
28
}
InputInterface
Elgg\Cli\Application
Wrapper for console application.
Definition:
Application.php:11
OutputInterface
Elgg\Cli\$output
$output
Definition:
Cli.php:38
Elgg\Cli
Definition:
Application.php:3
Elgg\Cli\$input
$input
Definition:
Cli.php:33
Elgg\Cli\Application\setup
setup(InputInterface $input, OutputInterface $output)
Configure input and output.
Definition:
Application.php:21
Generated on Fri Jun 9 2023 00:00:19 for Elgg by
1.8.11