PHP Class Matthias\SymfonyConsoleForm\Console\Input\CachedInputDefinitionFactory

Inheritance: implements Matthias\SymfonyConsoleForm\Console\Input\InputDefinitionFactory
Mostrar archivo Open project: matthiasnoback/symfony-console-form

Public Methods

Method Description
__construct ( Matthias\SymfonyConsoleForm\Console\Input\InputDefinitionFactory $inputDefinitionFactory, string $cacheDirectory, boolean $debug )
createForFormType ( string | Symfony\Component\Form\FormTypeInterface $formType, array &$resources = [] ) : mixed

Protected Methods

Method Description
configCacheFor ( string | Symfony\Component\Form\FormTypeInterface $formType ) : Symfony\Component\Config\ConfigCache

Private Methods

Method Description
freshInputDefinition ( string | Symfony\Component\Form\FormTypeInterface $formType, Symfony\Component\Config\ConfigCache $cache, array &$resources ) : Symfony\Component\Console\Input\InputDefinition
inputDefinitionFromCache ( string $cache ) : mixed

Method Details

__construct() public method

public __construct ( Matthias\SymfonyConsoleForm\Console\Input\InputDefinitionFactory $inputDefinitionFactory, string $cacheDirectory, boolean $debug )
$inputDefinitionFactory Matthias\SymfonyConsoleForm\Console\Input\InputDefinitionFactory
$cacheDirectory string
$debug boolean

configCacheFor() protected method

protected configCacheFor ( string | Symfony\Component\Form\FormTypeInterface $formType ) : Symfony\Component\Config\ConfigCache
$formType string | Symfony\Component\Form\FormTypeInterface
return Symfony\Component\Config\ConfigCache

createForFormType() public method

public createForFormType ( string | Symfony\Component\Form\FormTypeInterface $formType, array &$resources = [] ) : mixed
$formType string | Symfony\Component\Form\FormTypeInterface
$resources array
return mixed