Sonata\ProductBundle\Block\VariationsFormBlockService::__construct PHP Method

__construct() public method

public __construct ( string $name, Symfony\Bundle\FrameworkBundle\Templating\EngineInterface $templating, Pool $productPool, Symfony\Component\Form\FormFactoryInterface $formFactory )
$name string
$templating Symfony\Bundle\FrameworkBundle\Templating\EngineInterface
$productPool Sonata\Component\Product\Pool
$formFactory Symfony\Component\Form\FormFactoryInterface
    public function __construct($name, EngineInterface $templating, Pool $productPool, FormFactoryInterface $formFactory)
    {
        parent::__construct($name, $templating);
        $this->pool = $productPool;
        $this->formFactory = $formFactory;
    }