original_string: public function add($file_name_or_array, bool $flatten_root_folder = false): ZipManager {
  
          try {
  
              foreach ( $this->zip_archives as $archive ) {
                  $archive->add($file_name_or_array, $flatten_root_folder);
              }
              return $this;
  
          } catch (ZipException $ze) {
              throw $ze;
          }
  
      }
code: public function add($file_name_or_array, bool $flatten_root_folder = false): ZipManager {
  
          try {
  
              foreach ( $this->zip_archives as $archive ) {
                  $archive->add($file_name_or_array, $flatten_root_folder);
              }
              return $this;
  
          } catch (ZipException $ze) {
              throw $ze;
          }
  
      }
code_tokens: public function add ( $ file_name_or_array , bool $ flatten_root_folder = false ) : ZipManager { try { foreach ( $ this -> zip_archives as $ archive ) { $ archive -> add ( $ file_name_or_array , $ flatten_root_folder ) ; } return $ this ; } catch ( ZipException $ ze ) { throw $ ze ; } }
docstring: Add a file to all registered Zips
  
  @param mixed $file_name_or_array
  The filename to add or an array of filenames
  @param bool $flatten_root_folder
  (optional) If true, the Zip root folder will be flattened (default: false)
  
  @return ZipManager
  @throws ZipException
docstring_tokens: Add a file to all registered Zips