Passed
Push — main ( 80985a...6260d2 )
by Andrey
14:59 queued 13:42
created

Stringable::getFacadeAccessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 2
cts 2
cp 1
crap 1
rs 10
1
<?php
2
3
namespace Helldar\Support\Facades\Helpers;
4
5
use Helldar\Support\Facades\BaseFacade;
6
use Helldar\Support\Helpers\Stringable as Helper;
7
8
/**
9
 * @method static Helper of(?string $value)
10
 * @method static string ascii(string $language = 'en')
11
 * @method static string replace(array $values, string $key_format = null)
12
 * @method static string slug(string $separator = '-', ?string $language = 'en')
13
 * @method static string|null after(string $search)
14
 * @method static string|null before(string $search)
15
 * @method static string|null camel()
16
 * @method static string|null finish(string $cap = '/')
17
 * @method static string|null lower()
18
 * @method static string|null removeSpaces()
19
 * @method static string|null snake(string $delimiter = '_')
20
 * @method static string|null start(string $prefix)
21
 * @method static string|null studly()
22
 * @method static string|null substr(int $start, int $length = null)
23
 * @method static string|null title()
24
 * @method static string|null upper()
25
 */
26
class Stringable extends BaseFacade
27
{
28 16
    protected static function getFacadeAccessor()
29
    {
30 16
        return Helper::class;
31
    }
32
}
33