You are here

private function PharInvocationResolver::resolvePossibleAlias in Drupal 7

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;
}