Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. vfsStreamDirectory.php

function 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 259

Class

vfsStreamDirectory
Directory container.

Namespace

org\bovigo\vfs

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal