original_string: protected function collect_packs() {
  		$iterator = new DirectoryIterator( $this->dir );
  
  		foreach ( $iterator as $pack_dir ) {
  			if ( $pack_dir->isDot() || ! $pack_dir->isDir() || ! $pack_dir->isReadable() ) {
  				continue;
  			}
  
  			$pack_dirname = $pack_dir->getFilename();
  			$pack_data    = $this->get_pack_data( $pack_dir );
  
  			if ( ! empty( $pack_data ) ) {
  				$this->packs[ $pack_dirname ] = $pack_data;
  			}
  		}
  	}
code: protected function collect_packs() {
  		$iterator = new DirectoryIterator( $this->dir );
  
  		foreach ( $iterator as $pack_dir ) {
  			if ( $pack_dir->isDot() || ! $pack_dir->isDir() || ! $pack_dir->isReadable() ) {
  				continue;
  			}
  
  			$pack_dirname = $pack_dir->getFilename();
  			$pack_data    = $this->get_pack_data( $pack_dir );
  
  			if ( ! empty( $pack_data ) ) {
  				$this->packs[ $pack_dirname ] = $pack_data;
  			}
  		}
  	}
code_tokens: protected function collect_packs ( ) { $ iterator = new DirectoryIterator ( $ this -> dir ) ; foreach ( $ iterator as $ pack_dir ) { if ( $ pack_dir -> isDot ( ) || ! $ pack_dir -> isDir ( ) || ! $ pack_dir -> isReadable ( ) ) { continue ; } $ pack_dirname = $ pack_dir -> getFilename ( ) ; $ pack_data = $ this -> get_pack_data ( $ pack_dir ) ; if ( ! empty ( $ pack_data ) ) { $ this -> packs [ $ pack_dirname ] = $ pack_data ; } } }
docstring: Collect icon packs
  
  @since  0.1.0
  @access protected
  @return void
docstring_tokens: Collect icon packs