public function addToCdr(File $file): void
    {
        $file->ofs = $this->ofs;
        $this->ofs = $this->ofs->add($file->getTotalLength());
        $this->files[] = $file->getCdrFile();
    }
public function addToCdr(File $file): void
    {
        $file->ofs = $this->ofs;
        $this->ofs = $this->ofs->add($file->getTotalLength());
        $this->files[] = $file->getCdrFile();
    }
public function addToCdr ( File $ file ) : void { $ file -> ofs = $ this -> ofs ; $ this -> ofs = $ this -> ofs -> add ( $ file -> getTotalLength ( ) ) ; $ this -> files [ ] = $ file -> getCdrFile ( ) ; }
Save file attributes for trailing CDR record.

@param File $file
@return void
Save file attributes for trailing CDR record .