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