Esempio n. 1
0
 function __construct($name, ValueObjectConstructor $constructor, ValueObjectSerializator $serializator, Strategy $strategy)
 {
     $this->constructor = $constructor;
     $this->serializator = $serializator;
     $this->strategy = $strategy;
     parent::__construct($name);
 }
 function __construct($name, array $strategies, Strategy $strategy, $typeKey = '__type')
 {
     $this->strategies = $strategies;
     $this->typeKey = $typeKey;
     $this->strategy = $strategy;
     parent::__construct($name);
 }
Esempio n. 3
0
 function __construct($name, $class, $properties, Strategy $strategy)
 {
     $this->class = $class;
     $this->properties = $properties;
     $this->strategy = $strategy;
     parent::__construct($name);
 }
Esempio n. 4
0
 function __construct($name, Strategy $strategy)
 {
     $this->strategy = $strategy;
     parent::__construct($name);
 }
Esempio n. 5
0
 /**
  * @param $name
  * @param ObjectRestorer $creator
  * @param Strategy $strategy
  */
 function __construct($name, ObjectRestorer $creator, Strategy $strategy)
 {
     $this->creator = $creator;
     $this->strategy = $strategy;
     parent::__construct($name);
 }