/** * @param string $path * @param string $content */ public function append($path, $content) { if ($this->_adapter instanceof CM_File_Filesystem_Adapter_AppendInterface) { $this->_adapter->append($path, $content); } else { $this->_adapter->write($path, $this->_adapter->read($path) . $content); } foreach ($this->_secondaryList as $secondary) { $secondary->append($path, $content); } }