protected static function vfsStreamDirectory::getChildName in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamDirectory.php \org\bovigo\vfs\vfsStreamDirectory::getChildName()
helper method to calculate the child name
Parameters
string $name:
string $ownName:
Return value
string
1 call to vfsStreamDirectory::getChildName()
- vfsStreamDirectory::getRealChildName in vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamDirectory.php - helper method to detect the real child name
File
- vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamDirectory.php, line 213
Class
- vfsStreamDirectory
- Directory container.
Namespace
org\bovigo\vfsCode
protected static function getChildName($name, $ownName) {
if ($name === $ownName) {
return $name;
}
return substr($name, strlen($ownName) + 1);
}