PhpBench\Model\Result\MemoryResult::__construct PHP Method

__construct() public method

public __construct ( integer $peak, integer $real, $final )
$peak integer
$real integer
    public function __construct($peak, $real, $final)
    {
        Assertion::integer($peak, 'Peak memory must be an integer, got "%s"');
        Assertion::integer($real, 'Real memory must be an integer, got "%s"');
        Assertion::integer($final, 'Final memory must be an integer, got "%s"');
        $this->peak = $peak;
        $this->real = $real;
        $this->final = $final;
    }