You are here

public function MockSplFileInfo::isDir in Database Sanitize 7

File

vendor/symfony/finder/Tests/Iterator/MockSplFileInfo.php, line 60

Class

MockSplFileInfo

Namespace

Symfony\Component\Finder\Tests\Iterator

Code

public function isDir() {
  if (null === $this->type) {
    return false !== strpos($this
      ->getFilename(), 'directory');
  }
  return self::TYPE_DIRECTORY === $this->type;
}