public function vfsStreamDirectory::setParentPath 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::setParentPath()
sets parent path
@internal only to be set by parent @since 1.2.0
Parameters
string $parentPath:
Overrides vfsStreamAbstractContent::setParentPath
File
- vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamDirectory.php, line 108
Class
- vfsStreamDirectory
- Directory container.
Namespace
org\bovigo\vfsCode
public function setParentPath($parentPath) {
parent::setParentPath($parentPath);
foreach ($this->children as $child) {
$child
->setParentPath($this
->path());
}
}