You are here

public function vfsStreamDirectory::hasChild in Zircon Profile 8

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

checks whether the container contains a child with the given name

Parameters

string $name:

Return value

bool

Overrides vfsStreamContainer::hasChild

File

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

Class

vfsStreamDirectory
Directory container.

Namespace

org\bovigo\vfs

Code

public function hasChild($name) {
  return $this
    ->getChild($name) !== null;
}