Interface ApplicationFactoryInterface
Objects that implement the ApplicationFactoryInterface can be used to create
Symfony console commands and applications.
Methods summary
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
|
public
Symfony\Component\Console\Command\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
Symfony\Component\Console\Command\Command The Symfony console command
|