function __construct($key, $list, $file) { parent::__construct(sprintf("The key '%s' in the configuration file %s was not recognized. " . "You might have meant one of these: %s", $key, $file, join(', ', $list))); }