Searched refs:DsnParser (Results 1 – 4 of 4) sorted by relevance
22 use Nyholm\Dsn\DsnParser;24 $dsn = DsnParser::parse('http://127.0.0.1/foo/bar?key=value');59 There are two methods for parsing; `DsnParser::parse()` and `DsnParser::parseFunc()`.63 use Nyholm\Dsn\DsnParser;65 $dsn = DsnParser::parse('scheme://127.0.0.1/foo/bar?key=value');72 If functions are supported (like in the Symfony Mailer component) we can use `DsnParser::parseFunc(…75 use Nyholm\Dsn\DsnParser;77 $func = DsnParser::parseFunc('failover(sendgrid://KEY@default smtp://127.0.0.1)');85 use Nyholm\Dsn\DsnParser;87 $func = DsnParser::parseFunc('foo(udp://localhost failover:(tcp://localhost:61616,tcp://remotehost:…[all …]
19 * DsnParser::parseUrl(string $dsn): Url20 * DsnParser::parsePath(string $dsn): Path29 The `Nyholm\Dsn` class has been replaced with `Nyholm\Dsn\DsnParser`. To get a `Dsn`38 $dsn = new \Nyholm\Dsn\DsnParser::parse('mysql://localhost');
7 use Nyholm\Dsn\DsnParser; alias72 $func = DsnParser::parseFunc($dsnString);
20 class DsnParser class