Overview

Namespaces

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

Classes

  • ApplicationFactory
  • CallbackWrapper
  • Daemon
  • DaemonFactory

Interfaces

  • ApplicationFactoryInterface
  • DaemonFactoryInterface
  • DaemonInterface
  • KernelInterface
  • Overview
  • Namespace
  • Class

Class ApplicationFactory

The default implementation of the ApplicationFactoryInterface.

PHPFastCGI\FastCGIDaemon\ApplicationFactory implements PHPFastCGI\FastCGIDaemon\ApplicationFactoryInterface
Namespace: PHPFastCGI\FastCGIDaemon
Located at ApplicationFactory.php
Methods summary
public
# __construct( PHPFastCGI\FastCGIDaemon\DaemonFactoryInterface $daemonFactory = null )

Constructor.

Constructor.

Parameters

$daemonFactory
The factory to use to create daemons
public Symfony\Component\Console\Application
# createApplication( PHPFastCGI\FastCGIDaemon\KernelInterface|callable $kernel, string $commandName = null, string $commandDescription = null )

Create a Symfony console application

Create a Symfony console application

Parameters

$kernel
The kernel to use
$commandName
The name of the daemon run command
$commandDescription
The description of the daemon run command

Returns

Symfony\Component\Console\Application
The Symfony console application

Implementation of

PHPFastCGI\FastCGIDaemon\ApplicationFactoryInterface::createApplication()
public Command
# createCommand( PHPFastCGI\FastCGIDaemon\KernelInterface|callable $kernel, string $commandName = null, string $commandDescription = null )

Create a Symfony console command

Create a Symfony console command

Parameters

$kernel
The kernel to use
$commandName
The name of the daemon run command
$commandDescription
The description of the daemon run command

Returns

Command
The Symfony console command

Implementation of

PHPFastCGI\FastCGIDaemon\ApplicationFactoryInterface::createCommand()
API documentation generated by ApiGen