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

conedevelopment / root / 15084089635

17 May 2025 10:00AM UTC coverage: 77.93% (+0.04%) from 77.891%
15084089635

push

github

web-flow
Modernize back-end.yml (#240)

3291 of 4223 relevant lines covered (77.93%)

36.04 hits per line

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

66.67
/src/Settings/Registry.php
1
<?php
2

3
namespace Cone\Root\Settings;
4

5
use Cone\Root\Interfaces\Settings\Registry as Contract;
6
use Cone\Root\Interfaces\Settings\Repository;
7

8
class Registry implements Contract
9
{
10
    /**
11
     * The repository instance.
12
     */
13
    protected Repository $repository;
14

15
    /**
16
     * Create a new registry instance.
17
     */
18
    public function __construct(Repository $repository)
198✔
19
    {
20
        $this->repository = $repository;
198✔
21
    }
22

23
    /**
24
     * Get the repository instance.
25
     */
26
    public function getRepository(): Repository
×
27
    {
28
        return $this->repository;
×
29
    }
30

31
    /**
32
     * Dynamically call the given method.
33
     */
34
    public function __call(string $name, array $arguments): mixed
4✔
35
    {
36
        return call_user_func_array([$this->repository, $name], $arguments);
4✔
37
    }
38
}
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