public function getSuperBlock($prefix): IPBlock
    {
        $prefix = ltrim($prefix, '/');
        $this->checkPrefix($prefix);

        if ($prefix >= $this->prefix) {
            throw new \InvalidArgumentException("Prefix must be bigger than {$this->prefix} ($prefix given)");
        }

        return new static($this->first_ip, $prefix);
    }
public function getSuperBlock($prefix): IPBlock
    {
        $prefix = ltrim($prefix, '/');
        $this->checkPrefix($prefix);

        if ($prefix >= $this->prefix) {
            throw new \InvalidArgumentException("Prefix must be bigger than {$this->prefix} ($prefix given)");
        }

        return new static($this->first_ip, $prefix);
    }
public function getSuperBlock ( $ prefix ) : IPBlock { $ prefix = ltrim ( $ prefix , '/' ) ; $ this -> checkPrefix ( $ prefix ) ; if ( $ prefix >= $ this -> prefix ) { throw new \ InvalidArgumentException ( "Prefix must be bigger than {$this->prefix} ($prefix given)" ) ; } return new static ( $ this -> first_ip , $ prefix ) ; }
Return the super block containing the current block.

@param mixed $prefix

@return IPBlock
Return the super block containing the current block .