public function sameValueAs(ValueObjectInterface $integer)
    {
        if (false === Util::classEquals($this, $integer)) {
            return false;
        }

        return $this->toNative() === $integer->toNative();
    }
public function sameValueAs(ValueObjectInterface $integer)
    {
        if (false === Util::classEquals($this, $integer)) {
            return false;
        }

        return $this->toNative() === $integer->toNative();
    }
public function sameValueAs ( ValueObjectInterface $ integer ) { if ( false === Util :: classEquals ( $ this , $ integer ) ) { return false ; } return $ this -> toNative ( ) === $ integer -> toNative ( ) ; }
Tells whether two Integer are equal by comparing their values

@param  ValueObjectInterface $integer
@return bool
Tells whether two Integer are equal by comparing their values