function PharInvocationResolver::resolvePossibleAlias

Parameters

string $path:

Return value

null|string

2 calls to PharInvocationResolver::resolvePossibleAlias()
PharInvocationResolver::findByAlias in misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationResolver.php
Finds confirmed(!) invocations by alias.
PharInvocationResolver::resolveBaseName in misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationResolver.php

File

misc/typo3/phar-stream-wrapper/src/Resolver/PharInvocationResolver.php, line 172

Class

PharInvocationResolver

Namespace

TYPO3\PharStreamWrapper\Resolver

Code

private function resolvePossibleAlias($path) {
    $normalizedPath = Helper::normalizePath($path);
    return strstr($normalizedPath, '/', true) ?: null;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.