Exemplo n.º 1
0
 function __construct($name, ValueObjectConstructor $constructor, ValueObjectSerializator $serializator, Strategy $strategy)
 {
     $this->constructor = $constructor;
     $this->serializator = $serializator;
     $this->strategy = $strategy;
     parent::__construct($name);
 }
Exemplo n.º 2
0
 function __construct($name, array $strategies, Strategy $strategy, $typeKey = '__type')
 {
     $this->strategies = $strategies;
     $this->typeKey = $typeKey;
     $this->strategy = $strategy;
     parent::__construct($name);
 }
Exemplo n.º 3
0
 function __construct($name, $class, $properties, Strategy $strategy)
 {
     $this->class = $class;
     $this->properties = $properties;
     $this->strategy = $strategy;
     parent::__construct($name);
 }
Exemplo n.º 4
0
 function __construct($name, Strategy $strategy)
 {
     $this->strategy = $strategy;
     parent::__construct($name);
 }
Exemplo 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);
 }