Symfony\Component\Form\FormFactory::__construct PHP Метод

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

public __construct ( Symfony\Component\Form\FormRegistryInterface $registry, Symfony\Component\Form\ResolvedFormTypeFactoryInterface $resolvedTypeFactory )
$registry Symfony\Component\Form\FormRegistryInterface
$resolvedTypeFactory Symfony\Component\Form\ResolvedFormTypeFactoryInterface
    public function __construct(FormRegistryInterface $registry, ResolvedFormTypeFactoryInterface $resolvedTypeFactory)
    {
        $this->registry = $registry;
        $this->resolvedTypeFactory = $resolvedTypeFactory;
    }

Usage Example

Пример #1
0
 public function __construct(FormRegistryInterface $registry, ResolvedFormTypeFactoryInterface $resolvedTypeFactory)
 {
     $this->registry = $registry;
     $this->resolvedTypeFactory = $resolvedTypeFactory;
     parent::__construct($registry, $resolvedTypeFactory);
 }