Matthias\SymfonyConsoleForm\Console\Input\CachedInputDefinitionFactory::createForFormType PHP Метод

createForFormType() публичный Метод

public createForFormType ( string | Symfony\Component\Form\FormTypeInterface $formType, array &$resources = [] ) : mixed
$formType string | Symfony\Component\Form\FormTypeInterface
$resources array
Результат mixed
    public function createForFormType($formType, array &$resources = [])
    {
        $cache = $this->configCacheFor($formType);
        if ($cache->isFresh()) {
            return $this->inputDefinitionFromCache($cache->getPath());
        }
        return $this->freshInputDefinition($formType, $cache, $resources);
    }