public function __construct(ContainerInterface $container) { parent::setContainer($container); $this->mapping = $this->getContainer()->get('vich_uploader.property_mapping_factory'); }
public function __construct(ContainerInterface $container) { parent::setContainer($container); $this->liip_data_manager = $container->get('liip_imagine.data.manager'); $this->liip_filter_manager = $container->get('liip_imagine.filter.manager'); }