function __construct($path) { $this->path = $path; $this->addValueParser(function ($value) { return ConfigParser::valueParserDBConn($value); }); }