/** * Close the last open block. */ public function close_block() { $this->_block_level -= 1; $this->_close_block(); if (isset($this->logger)) { $this->logger->close_block(); } }