__construct() public méthode

public __construct ( array $attributes = [] )
$attributes array
Exemple #1
0
 public function __construct($name, Operand $value, Block $valueBlock, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->name = $this->addReadRef($name);
     $this->value = $this->addReadRef($value);
     $this->valueBlock = $valueBlock;
 }
Exemple #2
0
 public function __construct(Operand $var, Block $defaultBlock = null, Operand $defaultVar = null, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->var = $this->addWriteRef($var);
     $this->defaultBlock = $defaultBlock;
     $this->defaultVar = $this->addReadRef($defaultVar);
 }
Exemple #3
0
 public function __construct(Operand $var, Block $defaultBlock, Operand $defaultVar, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
     $this->defaultBlock = $defaultBlock;
     $this->defaultVar = $defaultVar;
 }
Exemple #4
0
 public function __construct(Operand $expr, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
 }
Exemple #5
0
 public function __construct(Operand $var, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->var = $this->addReadRef($var);
 }
Exemple #6
0
 public function __construct(Operand $expr = null, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->expr = $this->addReadRef($expr);
 }
Exemple #7
0
 public function __construct(Variable $expr = null, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->expr = $expr;
 }
Exemple #8
0
 public function __construct(array $exprs, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->exprs = $exprs;
 }
Exemple #9
0
 public function __construct(array $exprs, array $attributes = [])
 {
     parent::__construct($attributes);
     $this->exprs = $this->addReadRef($exprs);
 }
Exemple #10
0
 public function __construct($name, Variable $value, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->name = $name;
     $this->value = $value;
 }
Exemple #11
0
 public function __construct(Variable $var, array $attributes = array())
 {
     parent::__construct($attributes);
     $this->var = $var;
 }