| Total Complexity | 5 |
| Total Lines | 54 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 10 | class BenchmarkFunctionSymfonyFormatter extends BenchmarkFunctionFormatter |
||
| 11 | { |
||
| 12 | /** @var Theme */ |
||
| 13 | protected $theme; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * BenchmarkFunctionSymfonyFormatter constructor. |
||
| 17 | * @throws InvalidStyleException |
||
| 18 | */ |
||
| 19 | public function __construct() |
||
| 20 | { |
||
| 21 | $this->theme = new Theme(true); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param BenchmarkRelative $br |
||
| 26 | * @param BenchmarkFunction $function |
||
| 27 | * @param array $argumentsTypes |
||
| 28 | * |
||
| 29 | * @return string |
||
| 30 | */ |
||
| 31 | protected function preformatFunction( |
||
| 45 | ); |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @param float $relative |
||
| 50 | * @return string |
||
| 51 | */ |
||
| 52 | protected function relativePercent(float $relative): string |
||
| 64 | ); |
||
| 65 | } |
||
| 68 |