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

phpolar / model / 14025007690

24 Mar 2025 01:06AM UTC coverage: 90.182%. First build
14025007690

Pull #97

github

web-flow
Merge 0b573916d into 84527ee9f
Pull Request #97: test(InputTypesTest): remove covered exception

248 of 275 relevant lines covered (90.18%)

3.32 hits per line

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

0.0
/src/EntityName.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Phpolar\Model;
6

7
use Attribute;
8

9
/**
10
 * Allows for optional configuring of the name of an entity.
11
 */
12
#[Attribute(Attribute::TARGET_CLASS)]
13
final class EntityName
14
{
15
    public function __construct(private string $name)
16
    {
17
    }
×
18

19
    /**
20
     * Returns the name of the entity.
21
     * @api
22
     */
23
    public function getName(): string
24
    {
25
        return $this->name;
×
26
    }
27
}
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