[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/typo3/phar-stream-wrapper/src/Resolver/ -> PharInvocationResolver.php (summary)

(no description)

File Size: 246 lines (8 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

PharInvocationResolver:: (8 methods):
  resolve()
  retrieveInvocation()
  resolveBaseName()
  resolvePossibleAlias()
  findByBaseName()
  findInBaseNames()
  addBaseName()
  findByAlias()


Class: PharInvocationResolver  - X-Ref

resolve(string $path, int $flags = null)   X-Ref
Resolves PharInvocation value object (baseName and optional alias).

Phar aliases are intended to be used only inside Phar archives, however
PharStreamWrapper needs this information exposed outside of Phar as well
It is possible that same alias is used for different $baseName values.
That's why PharInvocationCollection behaves like a stack when resolving
base-name for a given alias. On the other hand it is not possible that
one $baseName is referring to multiple aliases.
param: string $path
param: int|null $flags
return: null|PharInvocation

retrieveInvocation(string $baseName, int $flags)   X-Ref
Retrieves PharInvocation, either existing in collection or created on demand
with resolving a potential alias name used in the according Phar archive.

param: string $baseName
param: int $flags
return: PharInvocation

resolveBaseName(string $path, int $flags)   X-Ref

param: string $path
param: int $flags
return: null|string

resolvePossibleAlias(string $path)   X-Ref

param: string $path
return: null|string

findByBaseName(string $baseName)   X-Ref

param: string $baseName
return: null|PharInvocation

findInBaseNames(string $path)   X-Ref
No description

addBaseName(string $baseName)   X-Ref

param: string $baseName

findByAlias(string $path)   X-Ref
Finds confirmed(!) invocations by alias.

param: string $path
return: null|PharInvocation



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer