src/AnnotationProcessor/PropertyInformation.php
public function setIntegerSize(int $integer_size): self
    {
        // Check Range.
        $max_int_size = PHP_INT_SIZE << 3;
        if ($integer_size <= 0 || $integer_size > $max_int_size) {
            throw new \RangeException(
                sprintf('Integer size %d, does not fit in domain (0, %d]', $integer_size, $max_int_size)
            );
        }

        // Assign.
        $this->integer_size = $integer_size;

        return $this;
    }
public function setIntegerSize(int $integer_size): self
    {
        // Check Range.
        $max_int_size = PHP_INT_SIZE << 3;
        if ($integer_size <= 0 || $integer_size > $max_int_size) {
            throw new \RangeException(
                sprintf('Integer size %d, does not fit in domain (0, %d]', $integer_size, $max_int_size)
            );
        }

        // Assign.
        $this->integer_size = $integer_size;

        return $this;
    }
public function setIntegerSize ( int $ integer_size ) : self { // Check Range. $ max_int_size = PHP_INT_SIZE << 3 ; if ( $ integer_size <= 0 || $ integer_size > $ max_int_size ) { throw new \ RangeException ( sprintf ( 'Integer size %d, does not fit in domain (0, %d]' , $ integer_size , $ max_int_size ) ) ; } // Assign. $ this -> integer_size = $ integer_size ; return $ this ; }
Set the size of the integer that will be stored, in bits.

@throws \InvalidArgumentException
@throws \RangeException

@param int $integer_size

@return PropertyInformation
Set the size of the integer that will be stored in bits .