You are here

protected function vfsStreamDirectory::getRealChildName in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamDirectory.php \org\bovigo\vfs\vfsStreamDirectory::getRealChildName()

helper method to detect the real child name

Parameters

string $name:

Return value

string

1 call to vfsStreamDirectory::getRealChildName()
vfsStreamDirectory::getChild in vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamDirectory.php
returns the child with the given name

File

vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamDirectory.php, line 197

Class

vfsStreamDirectory
Directory container.

Namespace

org\bovigo\vfs

Code

protected function getRealChildName($name) {
  if ($this
    ->appliesTo($name) === true) {
    return self::getChildName($name, $this->name);
  }
  return $name;
}