Classes
LintAbCommand
extends Command
in package
Lint AB executes Apache Benchmark with parameters supplied by `config/lint/ab.yaml` file
Tags
Table of Contents
- $defaultName : string
- Default static name for this command
- $em : EntityManagerInterface
- Entity Manager provided by ./config/services.yaml auto-wiring services
- $logger : LoggerInterface
- PSR Compliant Logger feature integrated with application main log file
- $params : ParameterBagInterface
- Application parameters from configuration files
- __construct() : mixed
- LintAbCommand constructor.
- configure() : mixed
- Configure for Apache Benchmark
- execute() : int|null|void
- Execute the command
Properties
$defaultName
Default static name for this command
protected
static string
$defaultName
= 'lint:ab'
$em
Entity Manager provided by ./config/services.yaml auto-wiring services
private
EntityManagerInterface
$em
$logger
PSR Compliant Logger feature integrated with application main log file
private
LoggerInterface
$logger
$params
Application parameters from configuration files
private
ParameterBagInterface
$params
Methods
__construct()
LintAbCommand constructor.
public
__construct([null $name = NULL ], LoggerInterface $logger, EntityManagerInterface $em, ParameterBagInterface $params) : mixed
Implement Symfony Interfaces and inherit Command constructor from parent()
Parameters
- $name : null = NULL
- $logger : LoggerInterface
- $em : EntityManagerInterface
- $params : ParameterBagInterface
Return values
mixed —configure()
Configure for Apache Benchmark
protected
configure() : mixed
Return values
mixed —execute()
Execute the command
protected
execute(InputInterface $input, OutputInterface $output) : int|null|void
Parameters
- $input : InputInterface
- $output : OutputInterface