ExpiredCommand

Extends \Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand

Class ExpiredCommand

package

App\Command

Methods

ExpiredCommand constructor.

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

Arguments

$name

null

$logger

\Psr\Log\LoggerInterface

$em

\Doctrine\ORM\EntityManagerInterface

$params

\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface

Configures options for command

configure() 

Executes the Expired Command using Repositories

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

Defines name of 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