function CaBundle::caDirUsable
Parameters
string|false $certDir:
LoggerInterface|null $logger:
Return value
bool
1 call to CaBundle::caDirUsable()
- CaBundle::getSystemCaRootBundlePath in vendor/
composer/ ca-bundle/ src/ CaBundle.php - Returns the system CA bundle path, or a path to the bundled one
File
-
vendor/
composer/ ca-bundle/ src/ CaBundle.php, line 244
Class
- CaBundle
- @author Chris Smith <chris@cs278.org> @author Jordi Boggiano <j.boggiano@seld.be>
Namespace
Composer\CaBundleCode
private static function caDirUsable($certDir, ?LoggerInterface $logger = null) {
return $certDir && self::isDir($certDir, $logger) && self::isReadable($certDir, $logger) && self::glob($certDir . '/*', $logger);
}