REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 2.63 KB
Close
/home/certprox/zang.certproxywizard.com/wp/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/class-manifest-reader.php
Text
Base64
<?php /** * This file was automatically generated by automattic/jetpack-autoloader. * * @package automattic/jetpack-autoloader */ namespace Automattic\Jetpack\Autoloader\jp60af226fe0a5f254066dfe81b410c136\al5_0_0; // phpcs:ignore /** * This class reads autoloader manifest files. */ class Manifest_Reader { /** * The Version_Selector object. * * @var Version_Selector */ private $version_selector; /** * The constructor. * * @param Version_Selector $version_selector The Version_Selector object. */ public function __construct( $version_selector ) { $this->version_selector = $version_selector; } /** * Reads all of the manifests in the given plugin paths. * * @param array $plugin_paths The paths to the plugins we're loading the manifest in. * @param string $manifest_path The path that we're loading the manifest from in each plugin. * @param array $path_map The path map to add the contents of the manifests to. * * @return array $path_map The path map we've built using the manifests in each plugin. */ public function read_manifests( $plugin_paths, $manifest_path, &$path_map ) { $file_paths = array_map( function ( $path ) use ( $manifest_path ) { return trailingslashit( $path ) . $manifest_path; }, $plugin_paths ); foreach ( $file_paths as $path ) { $this->register_manifest( $path, $path_map ); } return $path_map; } /** * Registers a plugin's manifest file with the path map. * * @param string $manifest_path The absolute path to the manifest that we're loading. * @param array $path_map The path map to add the contents of the manifest to. */ protected function register_manifest( $manifest_path, &$path_map ) { if ( ! is_readable( $manifest_path ) ) { return; } $manifest = require $manifest_path; if ( ! is_array( $manifest ) ) { return; } foreach ( $manifest as $key => $data ) { $this->register_record( $key, $data, $path_map ); } } /** * Registers an entry from the manifest in the path map. * * @param string $key The identifier for the entry we're registering. * @param array $data The data for the entry we're registering. * @param array $path_map The path map to add the contents of the manifest to. */ protected function register_record( $key, $data, &$path_map ) { if ( isset( $path_map[ $key ]['version'] ) ) { $selected_version = $path_map[ $key ]['version']; } else { $selected_version = null; } if ( $this->version_selector->is_version_update_required( $selected_version, $data['version'] ) ) { $path_map[ $key ] = array( 'version' => $data['version'], 'path' => $data['path'], ); } } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 14
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
class-autoloader-handler.php
4.50 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-autoloader-locator.php
2.12 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-autoloader.php
4.25 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-container.php
4.81 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-hook-manager.php
2.11 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-latest-autoloader-guard.php
5.84 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-manifest-reader.php
2.63 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-path-processor.php
5.57 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-php-autoloader.php
3.60 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-plugin-locator.php
4.52 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-plugins-handler.php
5.75 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-shutdown-handler.php
2.83 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-version-loader.php
4.38 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
class-version-selector.php
1.81 KB
lrw-r--r--
2026-03-30 10:22:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).