function CaBundle::caFileUsable
Parameters
string|false $certFile:
LoggerInterface|null $logger:
Return value
bool
1 call to CaBundle::caFileUsable()
- 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 231
Class
- CaBundle
- @author Chris Smith <chris@cs278.org> @author Jordi Boggiano <j.boggiano@seld.be>
Namespace
Composer\CaBundleCode
private static function caFileUsable($certFile, ?LoggerInterface $logger = null) {
return $certFile && self::isFile($certFile, $logger) && self::isReadable($certFile, $logger) && self::validateCaFile($certFile, $logger);
}