Aerys\Process::__construct PHP Method

__construct() public method

public __construct ( Psr\Log\LoggerInterface $logger )
$logger Psr\Log\LoggerInterface
    public function __construct(PsrLogger $logger)
    {
        $this->logger = $logger;
    }

Usage Example

Example #1
0
 public function __construct(PsrLogger $logger, $ipcSock, Bootstrapper $bootstrapper = null)
 {
     parent::__construct($logger);
     $this->logger = $logger;
     $this->ipcSock = $ipcSock;
     $this->bootstrapper = $bootstrapper ?: new Bootstrapper();
 }
All Usage Examples Of Aerys\Process::__construct