function CaBundle::isDir
Parameters
string $certDir:
LoggerInterface|null $logger:
Return value
bool
1 call to CaBundle::isDir()
- CaBundle::caDirUsable in vendor/
composer/ ca-bundle/ src/ CaBundle.php
File
-
vendor/
composer/ ca-bundle/ src/ CaBundle.php, line 272
Class
- CaBundle
- @author Chris Smith <chris@cs278.org> @author Jordi Boggiano <j.boggiano@seld.be>
Namespace
Composer\CaBundleCode
private static function isDir($certDir, ?LoggerInterface $logger = null) {
$isDir = @is_dir($certDir);
if (!$isDir && $logger) {
$logger->debug(sprintf('Checked directory %s does not exist or it is not a directory.', $certDir));
}
return $isDir;
}