LintAbCommand

Extends \Symfony\Component\Console\Command\Command

Lint AB executes Apache Benchmark with parameters supplied by `config/lint/ab.yaml` file

see

Class LintAbCommand

package

App\Command

Methods

LintAbCommand constructor.

__construct(null $name = NULL, \Psr\Log\LoggerInterface $logger, \Doctrine\ORM\EntityManagerInterface $em, \Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $params) 

Implement Symfony Interfaces and inherit Command constructor from parent()

Arguments

$name

null

$logger

\Psr\Log\LoggerInterface

$em

\Doctrine\ORM\EntityManagerInterface

$params

\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface

Configure for Apache Benchmark

configure() 

Execute the command

execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output) : integer|null|void

Arguments

$input

\Symfony\Component\Console\Input\InputInterface

$output

\Symfony\Component\Console\Output\OutputInterface

Response

integer|null|void

Properties

Default static name for this command

defaultName : string
static
var

Type(s)

string

PSR Compliant Logger feature integrated with application main log file

logger : \Psr\Log\LoggerInterface
var

Type(s)

\Psr\Log\LoggerInterface

Entity Manager provided by ./config/services.yaml auto-wiring services

em : \Doctrine\ORM\EntityManagerInterface
var

Type(s)

\Doctrine\ORM\EntityManagerInterface

Application parameters from configuration files

params : \Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface
var

Type(s)

\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface