Searched refs:parseFunc (Results 1 – 5 of 5) sorted by relevance
59 There are two methods for parsing; `DsnParser::parse()` and `DsnParser::parseFunc()`.72 If functions are supported (like in the Symfony Mailer component) we can use `DsnParser::parseFunc()`:77 $func = DsnParser::parseFunc('failover(sendgrid://KEY@default smtp://127.0.0.1)');87 $func = DsnParser::parseFunc('foo(udp://localhost failover:(tcp://localhost:61616,tcp://remotehost:61616)?initialReconnectDelay=100)?start=now');99 When using `DsnParser::parseFunc()` on a string that does not contain any DSN functions,104 when using `DsnParser::parseFunc()`.109 $func = DsnParser::parseFunc('smtp://127.0.0.1');115 $func = DsnParser::parseFunc('dsn(smtp://127.0.0.1)');
33 public static function parseFunc(string $dsn): DsnFunction function in Nyholm\\Dsn\\DsnParser 103 return self::parseFunc($dsn);
72 $func = DsnParser::parseFunc($dsnString);
26865 Parser.prototype.internalParse = function (input, parseFunc, textProvider) { argument26868 var node = parseFunc.bind(this)();
1 …input, parseFunc, textProvider) {\n this.scanner.setSource(input);\n this.token = th…