You are here

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

checks whether dir is a dot dir

Return value

bool

1 method overrides vfsStreamDirectory::isDot()
DotDirectory::isDot in vendor/mikey179/vfsStream/src/main/php/org/bovigo/vfs/DotDirectory.php
checks whether dir is a dot dir

File

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

Class

vfsStreamDirectory
Directory container.

Namespace

org\bovigo\vfs

Code

public function isDot() {
  if ('.' === $this->name || '..' === $this->name) {
    return true;
  }
  return false;
}