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

ICanBoogie / ActiveRecord / 11645408333

02 Nov 2024 07:56PM UTC coverage: 84.054% (+0.008%) from 84.046%
11645408333

push

github

olvlvl
Add ModelAccessor

13 of 13 new or added lines in 2 files covered. (100.0%)

3 existing lines in 2 files now uncovered.

1381 of 1643 relevant lines covered (84.05%)

21.75 hits per line

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

0.0
/lib/ActiveRecord/DefinedConnection.php
1
<?php
2

3
namespace ICanBoogie\ActiveRecord;
4

5
use ICanBoogie\ActiveRecord\Config\ConnectionDefinition;
6

7
/**
8
 * @internal
9
 * @see ConnectionIterator
10
 */
11
final readonly class DefinedConnection
12
{
13
    public function __construct(
14
        public ConnectionDefinition $definition,
15
        public bool $established,
16
        private ConnectionProvider $provider,
17
    ) {
UNCOV
18
    }
×
19

20
    public function connect(): Connection
21
    {
UNCOV
22
        return $this->provider->connection_for_id($this->definition->id);
×
23
    }
24
}
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

© 2025 Coveralls, Inc