You are here

function TestFileTransfer::isDirectory in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php \Drupal\system\Tests\FileTransfer\TestFileTransfer::isDirectory()

Checks if a particular path is a directory.

Parameters

string $path: The path to check

Return value

bool TRUE if the specified path is a directory, FALSE otherwise.

Overrides FileTransfer::isDirectory

File

core/modules/system/src/Tests/FileTransfer/TestFileTransfer.php, line 58
Contains \Drupal\system\Tests\FileTransfer\TestFileTransfer.

Class

TestFileTransfer
Mock FileTransfer object for test case.

Namespace

Drupal\system\Tests\FileTransfer

Code

function isDirectory($path) {
  return $this->shouldIsDirectoryReturnTrue;
}