public function getHost() { return $this->host; }
/** * @param string $dsn DSN * @param string $host Host * * @dataProvider hostValues */ public function testHost($dsn, $host) { $dsn = new RedisDsn($dsn); $this->assertSame($host, $dsn->getHost()); }