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

mpyw / laravel-database-mock / 13674878947

05 Mar 2025 11:24AM UTC coverage: 91.379%. Remained the same
13674878947

push

github

web-flow
chore: 🤖 Bump version (#4)

53 of 58 relevant lines covered (91.38%)

27.72 hits per line

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

100.0
/src/Proxies/ConnectionProxies.php
1
<?php
2

3
namespace Mpyw\LaravelDatabaseMock\Proxies;
4

5
class ConnectionProxies
6
{
7
    /**
8
     * @var \Mpyw\LaravelDatabaseMock\Proxies\SingleConnectionProxy
9
     */
10
    protected $reader;
11

12
    /**
13
     * @var \Mpyw\LaravelDatabaseMock\Proxies\SingleConnectionProxy
14
     */
15
    protected $writer;
16

17
    /**
18
     * ConnectionProxies constructor.
19
     *
20
     * @param \Mpyw\LaravelDatabaseMock\Proxies\SingleConnectionProxy $reader
21
     * @param \Mpyw\LaravelDatabaseMock\Proxies\SingleConnectionProxy $writer
22
     */
23
    public function __construct(SingleConnectionProxy $reader, SingleConnectionProxy $writer)
24
    {
25
        $this->reader = $reader;
8✔
26
        $this->writer = $writer;
8✔
27
    }
28

29
    /**
30
     * @return \Mpyw\LaravelDatabaseMock\Proxies\SingleConnectionProxy
31
     */
32
    public function reader(): SingleConnectionProxy
33
    {
34
        return $this->reader;
8✔
35
    }
36

37
    /**
38
     * @return \Mpyw\LaravelDatabaseMock\Proxies\SingleConnectionProxy
39
     */
40
    public function writer(): SingleConnectionProxy
41
    {
42
        return $this->writer;
8✔
43
    }
44
}
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