public function __construct(\SplFileInfo $configFile)
 {
     try {
         parent::__construct($configFile);
     } catch (NotAFileException $e) {
         $this->config = new \stdClass();
     }
 }
 public function __construct(\SplFileInfo $configFile, \stdClass $overrides)
 {
     try {
         parent::__construct($configFile);
     } catch (FileException $fileException) {
         $this->config = $overrides;
         try {
             $this->validate();
         } catch (JsonValidationException $ex) {
             throw $fileException;
         }
     }
     $this->overrides = $overrides;
 }