Class ApplicationFactory
The default implementation of the ApplicationFactoryInterface.
-
PHPFastCGI\FastCGIDaemon\ApplicationFactory
implements
PHPFastCGI\FastCGIDaemon\ApplicationFactoryInterface
Methods summary
public
|
|
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
|
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
|