Toon   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Squareetlabs\LaravelToon\Facades;
6
7
use Illuminate\Support\Facades\Facade;
8
use Squareetlabs\LaravelToon\Services\ToonService;
9
10
/**
11
 * @method static string encode(mixed $data)
12
 * @method static mixed decode(string $toon)
13
 * @method static array estimateTokens(string $content)
14
 * @method static array compress(mixed $data)
15
 * @method static array analyzeCompression(mixed $original)
16
 * @method static float calculateCompressionRatio(mixed $original)
17
 * @method static array compareWithJson(mixed $data)
18
 * @method static array getMetrics(mixed $data)
19
 *
20
 * @see ToonService
21
 */
22
class Toon extends Facade
23
{
24
    protected static function getFacadeAccessor(): string
25
    {
26
        return 'toon';
27
    }
28
}
29
30