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;
			}
		}
	}
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;
			}
		}
	}
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 ; } } }
Collect icon packs

@since  0.1.0
@access protected
@return void
Collect icon packs