Toon::getFacadeAccessor()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
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