PHP Class Matthias\SymfonyConsoleForm\Console\Input\CachedInputDefinitionFactory

Inheritance: implements Matthias\SymfonyConsoleForm\Console\Input\InputDefinitionFactory
Afficher le fichier Open project: matthiasnoback/symfony-console-form

Méthodes publiques

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

Méthodes protégées

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

Private Methods

Méthode 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 méthode

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

configCacheFor() protected méthode

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

createForFormType() public méthode

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