function Helper::hasPharPrefix
Parameters
string $path:
Return value
bool
3 calls to Helper::hasPharPrefix()
- Helper::removePharPrefix in misc/
typo3/ phar-stream-wrapper/ src/ Helper.php - PharInvocationResolver::resolve in misc/
typo3/ phar-stream-wrapper/ src/ Resolver/ PharInvocationResolver.php - Resolves PharInvocation value object (baseName and optional alias).
- PharInvocationResolver::resolveBaseName in misc/
typo3/ phar-stream-wrapper/ src/ Resolver/ PharInvocationResolver.php
File
-
misc/
typo3/ phar-stream-wrapper/ src/ Helper.php, line 68
Class
- Helper
- Helper provides low-level tools on file name resolving. However it does not (and should not) maintain any runtime state information. In order to resolve Phar archive paths according resolvers have to be used.
Namespace
TYPO3\PharStreamWrapperCode
public static function hasPharPrefix($path) {
return stripos($path, 'phar://') === 0;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.