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

brick / geo / 14057076899

25 Mar 2025 10:14AM UTC coverage: 52.154% (-13.7%) from 65.828%
14057076899

push

github

BenMorel
Wip

0 of 383 new or added lines in 14 files covered. (0.0%)

141 existing lines in 12 files now uncovered.

1634 of 3133 relevant lines covered (52.15%)

396.62 hits per line

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

0.0
/src/Engine/Database/Result/Value.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Brick\Geo\Engine\Database\Result;
6

7
use Brick\Geo\Engine\Database\DatabaseDriver;
8

9
final readonly class Value
10
{
11
    public function __construct(
12
        private DatabaseDriver $driver,
13
        private mixed $value,
14
    ) {
NEW
15
    }
×
16

17
    public function asBinary() : string
18
    {
NEW
19
        return $this->driver->convertBinaryResult($this->value);
×
20
    }
21

22
    public function asString() : string
23
    {
NEW
24
        return $this->driver->convertStringResult($this->value);
×
25
    }
26

27
    public function asInt() : int
28
    {
NEW
29
        return $this->driver->convertIntResult($this->value);
×
30
    }
31

32
    public function asFloat() : float
33
    {
NEW
34
        return $this->driver->convertFloatResult($this->value);
×
35
    }
36

37
    public function asBool() : bool
38
    {
NEW
39
        return $this->driver->convertBoolResult($this->value);
×
40
    }
41
}
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