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

aplus-framework / mvc / 16927505441

22 Jul 2025 07:08PM UTC coverage: 100.0%. Remained the same
16927505441

push

github

natanfelles
Add info about order in which commands are added to the console

1836 of 1836 relevant lines covered (100.0%)

10.61 hits per line

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

100.0
/src/Debug/ViewsCollection.php
1
<?php declare(strict_types=1);
2
/*
3
 * This file is part of Aplus Framework MVC Library.
4
 *
5
 * (c) Natan Felles <natanfelles@gmail.com>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace Framework\MVC\Debug;
11

12
use Framework\Debug\Collection;
13
use Framework\Helpers\Isolation;
14

15
/**
16
 * Class ViewsCollection.
17
 *
18
 * @package mvc
19
 */
20
class ViewsCollection extends Collection
21
{
22
    protected string $iconPath = __DIR__ . '/icons/views.svg';
23

24
    protected function prepare() : void
25
    {
26
        parent::prepare();
2✔
27
        $this->addAction($this->makeActionToggleViewsHints());
2✔
28
    }
29

30
    protected function makeActionToggleViewsHints() : string
31
    {
32
        \ob_start();
2✔
33
        Isolation::require(__DIR__ . '/Views/toggle-views-hints.php');
2✔
34
        return \ob_get_clean(); // @phpstan-ignore-line
2✔
35
    }
36
}
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