You are here

DotDirectory.php in Zircon Profile 8

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

Namesort descending Description
DotDirectory Directory container.