You are here

public function MockSplFileInfo::isFile in Database Sanitize 7

File

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

Class

MockSplFileInfo

Namespace

Symfony\Component\Finder\Tests\Iterator

Code

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