You are here

public function MockSplFileInfo::isReadable in Database Sanitize 7

File

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

Class

MockSplFileInfo

Namespace

Symfony\Component\Finder\Tests\Iterator

Code

public function isReadable() {
  if (null === $this->mode) {
    return preg_match('/r\\+/', $this
      ->getFilename());
  }
  return preg_match('/r\\+/', $this->mode);
}