PHPCfg\Op\Expr\Yield_::__construct PHP Method

__construct() public method

public __construct ( Operand $value = null, Operand $key = null, array $attributes = [] )
$value PHPCfg\Operand
$key PHPCfg\Operand
$attributes array
    public function __construct(Operand $value = null, Operand $key = null, array $attributes = [])
    {
        parent::__construct($attributes);
        $this->value = $this->addReadRef($value);
        $this->key = $this->addReadRef($key);
    }