You are here

private function vfsStreamContainerIteratorTestCase::getDirName in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamContainerIteratorTestCase.php \org\bovigo\vfs\vfsStreamContainerIteratorTestCase::getDirName()
1 call to vfsStreamContainerIteratorTestCase::getDirName()
vfsStreamContainerIteratorTestCase::iteration in vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamContainerIteratorTestCase.php
@test @dataProvider provideSwitchWithExpectations

File

vendor/mikey179/vfsStream/src/test/php/org/bovigo/vfs/vfsStreamContainerIteratorTestCase.php, line 75

Class

vfsStreamContainerIteratorTestCase
Test for org\bovigo\vfs\vfsStreamContainerIterator.

Namespace

org\bovigo\vfs

Code

private function getDirName($dir) {
  if (is_string($dir)) {
    return $dir;
  }
  return $dir
    ->getName();
}