* @returns AvroSchema object of Avro container file metadata. */
()
| 114 | * @returns AvroSchema object of Avro container file metadata. |
| 115 | */ |
| 116 | public static function metadataSchema() |
| 117 | { |
| 118 | if (is_null(self::$metadataSchema)) { |
| 119 | self::$metadataSchema = AvroSchema::parse(self::METADATA_SCHEMA_JSON); |
| 120 | } |
| 121 | return self::$metadataSchema; |
| 122 | } |
| 123 | |
| 124 | /** |
| 125 | * @param string $file_path file_path of file to open |
no test coverage detected