Overview

Namespaces

  • PHPFastCGI
    • FastCGIDaemon
      • Command
      • Connection
      • ConnectionHandler
      • Exception
      • Http

Classes

  • ConnectionHandler
  • ConnectionHandlerFactory

Interfaces

  • ConnectionHandlerFactoryInterface
  • ConnectionHandlerInterface
  • Overview
  • Namespace
  • Class

Class ConnectionHandlerFactory

The default implementation of the ConnectionHandlerFactoryInterface.

PHPFastCGI\FastCGIDaemon\ConnectionHandler\ConnectionHandlerFactory implements PHPFastCGI\FastCGIDaemon\ConnectionHandler\ConnectionHandlerFactoryInterface, Psr\Log\LoggerAwareInterface uses Psr\Log\LoggerAwareTrait (not available)
Namespace: PHPFastCGI\FastCGIDaemon\ConnectionHandler
Located at ConnectionHandler/ConnectionHandlerFactory.php
Methods summary
public
# __construct( PHPFastCGI\FastCGIDaemon\KernelInterface|callable $kernel, Psr\Log\LoggerInterface $logger = null )

Constructor.

Constructor.

Parameters

$kernel
The kernel to create handlers for
$logger
A logger to use
public PHPFastCGI\FastCGIDaemon\ConnectionHandler\ConnectionHandlerInterface
# createConnectionHandler( PHPFastCGI\FastCGIDaemon\Connection\ConnectionInterface $connection )

Create a connection handler.

Create a connection handler.

Parameters

$connection
The connection to handle

Returns

PHPFastCGI\FastCGIDaemon\ConnectionHandler\ConnectionHandlerInterface
The connection handler

Implementation of

PHPFastCGI\FastCGIDaemon\ConnectionHandler\ConnectionHandlerFactoryInterface::createConnectionHandler()
API documentation generated by ApiGen