You are here

public function vfsStreamDirectory::hasChildren 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::hasChildren()

checks whether directory contains any children

@since 0.10.0

Return value

bool

Overrides vfsStreamContainer::hasChildren

File

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

Class

vfsStreamDirectory
Directory container.

Namespace

org\bovigo\vfs

Code

public function hasChildren() {
  return count($this->children) > 0;
}