Sonata\ProductBundle\Controller\ProductVariationAdminController::getTranslator PHP Method

getTranslator() protected method

Return the Product Pool.
protected getTranslator ( ) : Symfony\Bundle\FrameworkBundle\Translation\Translator
return Symfony\Bundle\FrameworkBundle\Translation\Translator
    protected function getTranslator()
    {
        return $this->get('translator');
    }