Class OutgoingCommand provides handling of Incoming FPM request to Outgoing CLI GuzzleHttp
Methods
OutgoingCommand constructor to implement LoggerInterface and parent()
__construct(null $name = NULL, \Psr\Log\LoggerInterface $logger, \Doctrine\ORM\EntityManagerInterface $em, \Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $params)
Arguments
$logger
\Psr\Log\LoggerInterface
$em
\Doctrine\ORM\EntityManagerInterface
$params
\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface
Execute the Command using InputInterface and OutputInterface
execute(\Symfony\Component\Console\Input\InputInterface $input, \Symfony\Component\Console\Output\OutputInterface $output) : void
Arguments
$input
\Symfony\Component\Console\Input\InputInterface
$output
\Symfony\Component\Console\Output\OutputInterface
Properties
Symfony Command name available to php bin/console
defaultName : string
static
PSR Compliant Logger feature integrated with application main log file
logger : \Psr\Log\LoggerInterface
Type(s)
\Psr\Log\LoggerInterface
Entity Manager provided by ./config/services.yaml auto-wiring services
em : \Doctrine\ORM\EntityManagerInterface
Type(s)
\Doctrine\ORM\EntityManagerInterface
Application parameters from configuration files
params : \Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface
Type(s)
\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface