public function addExtensionRange(\google\protobuf\DescriptorProto\ExtensionRange $value)
    {
        if ($this->extension_range === null) {
            $this->extension_range = new \Protobuf\MessageCollection();
        }

        $this->extension_range->add($value);
    }
public function addExtensionRange(\google\protobuf\DescriptorProto\ExtensionRange $value)
    {
        if ($this->extension_range === null) {
            $this->extension_range = new \Protobuf\MessageCollection();
        }

        $this->extension_range->add($value);
    }
public function addExtensionRange ( \ google \ protobuf \ DescriptorProto \ ExtensionRange $ value ) { if ( $ this -> extension_range === null ) { $ this -> extension_range = new \ Protobuf \ MessageCollection ( ) ; } $ this -> extension_range -> add ( $ value ) ; }
Add a new element to 'extension_range'

@param \google\protobuf\DescriptorProto\ExtensionRange $value
Add a new element to extension_range