PHP Class M6Web\Bundle\PhpProcessManagerBundle\Command\HttpProcessCommand

Inheritance: extends Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand
Show file Open project: M6Web/PhpProcessManagerBundle Class Usage Examples

Protected Properties

Property Type Description
$host string
$httpServer React\Http\Server
$loop React\EventLoop\StreamSelectLoop
$memoryMax integer Store max memory option value
$port integer
$returnValue integer Process return value
$socket React\Socket\Server

Protected Methods

Method Description
configure ( ) {@inheritDoc}
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) {@inheritDoc}
initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) {@inheritDoc}
shouldExitCommand ( Symfony\Component\Console\Output\OutputInterface $output ) : boolean determine if the event loop should be stopped
writeln ( Symfony\Component\Console\Output\OutputInterface $output, $line )

Method Details

configure() protected method

{@inheritDoc}
See also: Symfony\Component\Console\Command\Command::configure()
protected configure ( )

execute() protected method

{@inheritDoc}
See also: Symfony\Component\Console\Command\Command::execute()
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

initialize() protected method

{@inheritDoc}
See also: Symfony\Component\Console\Command\Command::initialize()
protected initialize ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

shouldExitCommand() protected method

determine if the event loop should be stopped
protected shouldExitCommand ( Symfony\Component\Console\Output\OutputInterface $output ) : boolean
$output Symfony\Component\Console\Output\OutputInterface
return boolean

writeln() protected static method

protected static writeln ( Symfony\Component\Console\Output\OutputInterface $output, $line )
$output Symfony\Component\Console\Output\OutputInterface

Property Details

$host protected property

protected string $host
return string

$httpServer protected property

protected Server,React\Http $httpServer
return React\Http\Server

$loop protected property

protected StreamSelectLoop,React\EventLoop $loop
return React\EventLoop\StreamSelectLoop

$memoryMax protected property

Store max memory option value
protected int $memoryMax
return integer

$port protected property

protected int $port
return integer

$returnValue protected property

Process return value
protected int $returnValue
return integer

$socket protected property

protected Server,React\Socket $socket
return React\Socket\Server