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

__construct() public method

public __construct ( Operand $read, Operand $write, Assertion $assertion, array $attributes = [] )
$read PHPCfg\Operand
$write PHPCfg\Operand
$assertion PHPCfg\Assertion
$attributes array
    public function __construct(Operand $read, Operand $write, Assert $assertion, array $attributes = [])
    {
        parent::__construct($attributes);
        $this->expr = $this->addReadRef($read);
        $this->assertion = $this->addReadRef($assertion);
        $this->result = $this->addWriteRef($write);
    }