• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

prooph / event-store-client / 9555551525

17 Jun 2024 10:16PM UTC coverage: 70.262% (-1.1%) from 71.395%
9555551525

push

github

prolic
update coveralls repo token

3466 of 4933 relevant lines covered (70.26%)

67.7 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

25.0
/src/GossipSeed.php
1
<?php
2

3
/**
4
 * This file is part of `prooph/event-store-client`.
5
 * (c) 2018-2024 Alexander Miertsch <kontakt@codeliner.ws>
6
 * (c) 2018-2024 Sascha-Oliver Prolic <saschaprolic@googlemail.com>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11

12
declare(strict_types=1);
13

14
namespace Prooph\EventStoreClient;
15

16
use Prooph\EventStore\EndPoint;
17

18
/**
19
 * Represents a source of cluster gossip
20
 *
21
 * @psalm-immutable
22
 */
23
class GossipSeed
24
{
25
    public function __construct(
26
        private readonly EndPoint $endPoint,
27
        private readonly string $hostHeader = '',
28
        private readonly bool $seedOverTls = true
29
    ) {
30
    }
6✔
31

32
    public function endPoint(): EndPoint
33
    {
34
        return $this->endPoint;
×
35
    }
36

37
    public function hostHeader(): string
38
    {
39
        return $this->hostHeader;
×
40
    }
41

42
    public function seedOverTls(): bool
43
    {
44
        return $this->seedOverTls;
×
45
    }
46
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc