Aerys\Websocket\Rfc6455Endpoint::__construct PHP Method

__construct() public method

public __construct ( Psr\Log\LoggerInterface $logger, Websocket $application )
$logger Psr\Log\LoggerInterface
$application Websocket
    public function __construct(PsrLogger $logger, Websocket $application)
    {
        $this->logger = $logger;
        $this->application = $application;
        $this->now = time();
        $this->proxy = new Rfc6455EndpointProxy($this);
    }