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

The-oGlow / ezlogging / 17528897714

07 Sep 2025 01:02PM UTC coverage: 74.886% (-8.4%) from 83.249%
17528897714

push

github

ollily
#3: Traits added

0 of 22 new or added lines in 2 files covered. (0.0%)

164 of 219 relevant lines covered (74.89%)

6.56 hits per line

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

0.0
/src/Tools/String/ToStringTrait.php
1
<?php
2

3
declare(strict_types=1);
4

5
/*
6
 * This file is part of ezlogging
7
 *
8
 * (c) 2025 Oliver Glowa, coding.glowa.com
9
 *
10
 * This source file is subject to the Apache-2.0 license that is bundled
11
 * with this source code in the file LICENSE.
12
 */
13

14
namespace ollily\Tools;
15

16
use oglowa\tools\Yacorapi\Helper\ImplodeTrait;
17

18
trait ToStringTrait
19
{
20
    use ImplodeTrait;
21

22
    abstract function __toStringValues(): array;
23

24
    /**
25
     * @inheritdoc
26
     */
NEW
27
    public function __toString()
×
28
    {
NEW
29
        return sprintf('[{%s}:{%s}]', get_class($this), $this->arrayRecImplode(',', $this->__toStringValues(), true));
×
30
    }
31
}
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