Path_Processor
This class handles dealing with paths for the autoloader.
Description Description
Source Source
File: vendor/automattic/jetpack-autoloader/src/class-path-processor.php
Methods Methods
- find_absolute_plugin_path — Given a file and a list of directories to check, this method will try to figure out the absolute path to the file in question.
- find_directory_with_autoloader — Given a file and an array of places it might be, this will find the absolute path and return it.
- get_normalized_constants — Fetches an array of normalized paths keyed by the constant they came from.
- get_real_path — Given a path this will figure out the real path that we should be using.
- is_absolute_path — Indicates whether or not a path is absolute.
- tokenize_path_constants — Given a path this will replace any of the path constants with a token to represent it.
- untokenize_path_constants — Given a path this will replace any of the path constant tokens with the expanded path.