Kraken\Network\Http\HttpServer::__construct PHP Метод

__construct() публичный Метод

public __construct ( Kraken\Network\NetworkComponentAwareInterface $aware = null, Kraken\Network\NetworkComponentInterface $component = null )
$aware Kraken\Network\NetworkComponentAwareInterface
$component Kraken\Network\NetworkComponentInterface
    public function __construct(NetworkComponentAwareInterface $aware = null, NetworkComponentInterface $component = null)
    {
        $this->httpServer = $component;
        $this->httpDriver = new HttpDriver();
        if ($aware !== null) {
            $aware->setComponent($this);
        }
    }