Lines Matching refs:logger
61 * @param LoggerInterface $logger optional logger for information about which CA files were loaded
64 public static function getSystemCaRootBundlePath(LoggerInterface $logger = null)
104 if (self::caFileUsable($caBundle, $logger)) {
149 * @param LoggerInterface $logger optional logger for information about which CA files were loaded
153 public static function validateCaFile($filename, LoggerInterface $logger = null)
166 if (!$warned && $logger) {
167 $logger->warning(sprintf(
179 if ($logger) {
180 $logger->debug('Checked CA file '.realpath($filename).': '.($isValid ? 'valid' : 'invalid'));
301 private static function caFileUsable($certFile, LoggerInterface $logger = null)
303 return $certFile && @is_file($certFile) && @is_readable($certFile) && static::validateCaFile($certFile, $logger);