protected function registerShutdownHandler(): void
    {
        if ($this->reservedMemory === null) {
            $this->reservedMemory = \str_repeat('x', 10240);
            \register_shutdown_function([$this, 'handleShutdown']);
        }
    }
protected function registerShutdownHandler(): void
    {
        if ($this->reservedMemory === null) {
            $this->reservedMemory = \str_repeat('x', 10240);
            \register_shutdown_function([$this, 'handleShutdown']);
        }
    }
protected function registerShutdownHandler ( ) : void { if ( $ this -> reservedMemory === null ) { $ this -> reservedMemory = \ str_repeat ( 'x' , 10240 ) ; \ register_shutdown_function ( [ $ this , 'handleShutdown' ] ) ; } }
Register the PHP shutdown handler.

@return void
Register the PHP shutdown handler .