original_string: private function writeStoredRoutineMetadata(): void
    {
      $json_data = json_encode($this->phpStratumMetadata, JSON_PRETTY_PRINT);
      if (json_last_error()!=JSON_ERROR_NONE)
      {
        throw new RuntimeException("Error of encoding to JSON: '%s'.", json_last_error_msg());
      }
  
      // Save the metadata.
      $this->writeTwoPhases($this->phpStratumMetadataFilename, $json_data);
    }
code: private function writeStoredRoutineMetadata(): void
    {
      $json_data = json_encode($this->phpStratumMetadata, JSON_PRETTY_PRINT);
      if (json_last_error()!=JSON_ERROR_NONE)
      {
        throw new RuntimeException("Error of encoding to JSON: '%s'.", json_last_error_msg());
      }
  
      // Save the metadata.
      $this->writeTwoPhases($this->phpStratumMetadataFilename, $json_data);
    }
code_tokens: private function writeStoredRoutineMetadata ( ) : void { $ json_data = json_encode ( $ this -> phpStratumMetadata , JSON_PRETTY_PRINT ) ; if ( json_last_error ( ) != JSON_ERROR_NONE ) { throw new RuntimeException ( "Error of encoding to JSON: '%s'." , json_last_error_msg ( ) ) ; } // Save the metadata. $ this -> writeTwoPhases ( $ this -> phpStratumMetadataFilename , $ json_data ) ; }
docstring: Writes the metadata of all stored routines to the metadata file.
docstring_tokens: Writes the metadata of all stored routines to the metadata file .