public function vfsStreamAbstractContent::path in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/vfsStreamAbstractContent.php \org\bovigo\vfs\vfsStreamAbstractContent::path()
returns path to this content
@since 1.2.0
Return value
string
Overrides vfsStreamContent::path
3 calls to vfsStreamAbstractContent::path()
- vfsStreamAbstractContent::url in vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamAbstractContent.php - returns complete vfsStream url for this content
- vfsStreamDirectory::addChild in vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamDirectory.php - adds child to the directory
- vfsStreamDirectory::setParentPath in vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamDirectory.php - sets parent path
File
- vendor/
mikey179/ vfsStream/ src/ main/ php/ org/ bovigo/ vfs/ vfsStreamAbstractContent.php, line 399
Class
- vfsStreamAbstractContent
- Base stream contents container.
Namespace
org\bovigo\vfsCode
public function path() {
if (null === $this->parentPath) {
return $this->name;
}
return $this->parentPath . '/' . $this->name;
}