/**
  * {@inheritDoc}
  */
 public function __construct(ObjectManager $objectManager, HydratorPluginManager $pluginManager, $byValue = true)
 {
     parent::__construct($objectManager, $byValue);
     $this->pluginManager = $pluginManager;
 }
 /**
  * Constructor
  *
  * @param ObjectManager $objectManager The ObjectManager to use
  * @param string        $targetClass   The FQCN of the hydrated/extracted object
  * @param bool          $byValue       If set to true, hydrator will always use entity's public API
  */
 public function __construct(ObjectManager $objectManager, $targetClass, $byValue = true)
 {
     parent::__construct($objectManager, $targetClass, $byValue);
 }
示例#3
0
    /**
     * {@inheritdoc}
     */
    public function __construct(ObjectManager $objectManager, $byValue = true)
    {
        parent::__construct($objectManager, $byValue);

        $this->wordFilter = new UnderscoreToCamelCase();
    }
示例#4
0
 public function __construct(ObjectManager $objectManager, AuthenticationService $authentification, AclAuthorization $authorization)
 {
     parent::__construct($objectManager);
     $this->authorization = $authorization;
     $this->authentification = $authentification;
 }