public function TestFileTransfer::isDirectory in Drupal 9
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/FileTransfer/TestFileTransfer.php \Drupal\Tests\system\Functional\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/ tests/ src/ Functional/ FileTransfer/ TestFileTransfer.php, line 52
Class
- TestFileTransfer
- Mock FileTransfer object for test case.
Namespace
Drupal\Tests\system\Functional\FileTransferCode
public function isDirectory($path) {
return $this->shouldIsDirectoryReturnTrue;
}