MCPcopy Create free account
hub / github.com/apache/avro / checkClosed

Method checkClosed

lang/php/lib/IO/AvroStringIO.php:90–95  ·  view source on GitHub ↗

* @throws AvroIOException if the buffer is closed. */

()

Source from the content-addressed store, hash-verified

88 * @throws AvroIOException if the buffer is closed.
89 */
90 private function checkClosed()
91 {
92 if ($this->isClosed()) {
93 throw new AvroIOException('Buffer is closed');
94 }
95 }
96
97 /**
98 * @returns boolean true if this buffer is closed and false

Callers 5

writeMethod · 0.95
appendStrMethod · 0.95
readMethod · 0.95
closeMethod · 0.95
truncateMethod · 0.95

Calls 1

isClosedMethod · 0.95

Tested by

no test coverage detected