protected function addCdr($opt = null) { foreach ($this->files as $file) { $this->addCdrFile($file); } $this->addCdrEof($opt); }