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

Breadcrumb

  1. Drupal Core 11.1.x

DotDirectory.php

Namespace

org\bovigo\vfs

File

vendor/mikey179/vfsstream/src/main/php/org/bovigo/vfs/DotDirectory.php

View source
<?php


/**
 * This file is part of vfsStream.
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 *
 * @package  org\bovigo\vfs
 */
namespace org\bovigo\vfs;


/**
 * Directory container.
 */
class DotDirectory extends vfsStreamDirectory {
    
    /**
     * returns iterator for the children
     *
     * @return  vfsStreamContainerIterator
     */
    public function getIterator() {
        return new \ArrayIterator(array());
    }
    
    /**
     * checks whether dir is a dot dir
     *
     * @return  bool
     */
    public function isDot() {
        return true;
    }

}

Classes

Title Deprecated Summary
DotDirectory Directory container.

API Navigation

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