AcmePhp\Cli\Command\MonitoringTestCommand::configure PHP Méthode

configure() protected méthode

protected configure ( )
    protected function configure()
    {
        $this->setName('monitoring-test')->setDefinition([new InputArgument('level', InputArgument::OPTIONAL, 'The level to use for the test (info/error, by default error)', 'error')])->setDescription('Throw an error in a monitored context to test your configuration')->setHelp(<<<'EOF'
The <info>%command.name%</info> command list will set up the same monitored context as in your CRON
jobs and will voluntarily throw an error inside it so you can check you are successfully alerted if
there is a problem.
EOF
);
    }
MonitoringTestCommand