private function PharInvocationResolver::findByBaseName in Drupal 7
Parameters
string $baseName:
Return value
null|PharInvocation
1 call to PharInvocationResolver::findByBaseName()
- PharInvocationResolver::retrieveInvocation in misc/
typo3/ phar-stream-wrapper/ src/ Resolver/ PharInvocationResolver.php - Retrieves PharInvocation, either existing in collection or created on demand with resolving a potential alias name used in the according Phar archive.
File
- misc/
typo3/ phar-stream-wrapper/ src/ Resolver/ PharInvocationResolver.php, line 182
Class
Namespace
TYPO3\PharStreamWrapper\ResolverCode
private function findByBaseName($baseName) {
return Manager::instance()
->getCollection()
->findByCallback(function (PharInvocation $candidate) use ($baseName) {
return $candidate
->getBaseName() === $baseName;
}, true);
}