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

ICanBoogie / bind-symfony-dependency-injection / 4267737969

pending completion
4267737969

push

github

Olivier Laviale
Tidy

2 of 2 new or added lines in 1 file covered. (100.0%)

32 of 93 relevant lines covered (34.41%)

1.1 hits per line

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

0.0
/lib/ContainerPathname.php
1
<?php
2

3
/*
4
 * This file is part of the ICanBoogie package.
5
 *
6
 * (c) Olivier Laviale <olivier.laviale@gmail.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
namespace ICanBoogie\Binding\SymfonyDependencyInjection;
13

14
use ICanBoogie\AppConfig;
15
use ICanBoogie\Application;
16
use Stringable;
17

18
/**
19
 * Representation of a container pathname
20
 */
21
final class ContainerPathname implements Stringable
22
{
23
    private const FILENAME = 'container-compiled.php';
24

25
    public static function from(Application $app): self
26
    {
27
        return new self($app->config->repository_cache . self::FILENAME);
×
28
    }
29

30
    private function __construct(
31
        private readonly string $pathname
32
    ) {
33
    }
×
34

35
    public function __toString(): string
36
    {
37
        return $this->pathname;
×
38
    }
39
}
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