Aerys\WorkerProcess::__construct PHP Method

__construct() public method

public __construct ( Psr\Log\LoggerInterface $logger, $ipcSock, Bootstrapper $bootstrapper = null )
$logger Psr\Log\LoggerInterface
$bootstrapper Bootstrapper
    public function __construct(PsrLogger $logger, $ipcSock, Bootstrapper $bootstrapper = null)
    {
        parent::__construct($logger);
        $this->logger = $logger;
        $this->ipcSock = $ipcSock;
        $this->bootstrapper = $bootstrapper ?: new Bootstrapper();
    }