Elcodi\Store\ProductBundle\Transformer\ProductTransformer::__construct PHP Méthode

__construct() public méthode

Construct
public __construct ( Elcodi\Component\EntityTranslator\Services\Interfaces\EntityTranslatorInterface $entityTranslator, Symfony\Component\Routing\Generator\UrlGeneratorInterface $router )
$entityTranslator Elcodi\Component\EntityTranslator\Services\Interfaces\EntityTranslatorInterface Entity Translator
$router Symfony\Component\Routing\Generator\UrlGeneratorInterface Router
    public function __construct(EntityTranslatorInterface $entityTranslator, UrlGeneratorInterface $router)
    {
        $this->entityTranslator = $entityTranslator;
        $this->router = $router;
    }