Passed
Push — main ( 1c7dfd...e0e27b )
by Andrey
16:04 queued 14:32
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\Ables;
4
5
use Helldar\Support\Facades\BaseFacade;
6
use Helldar\Support\Helpers\Ables\Stringable as Helper;
7
8
/**
9
 * @method static Helper after(string $search)
10
 * @method static Helper ascii(string $language = 'en')
11
 * @method static Helper before(string $search)
12
 * @method static Helper camel()
13
 * @method static Helper finish(string $cap = '/')
14
 * @method static Helper lower()
15
 * @method static Helper of(?string $value)
16
 * @method static Helper pregReplace(string $pattern, string $replacement)
17
 * @method static Helper removeSpaces()
18
 * @method static Helper replace(array $values, string $key_format = null)
19
 * @method static Helper slug(string $separator = '-', ?string $language = 'en')
20
 * @method static Helper snake(string $delimiter = '_')
21
 * @method static Helper start(string $prefix)
22
 * @method static Helper studly()
23
 * @method static Helper substr(int $start, int $length = null)
24
 * @method static Helper title()
25
 * @method static Helper trim(string $characters = " \t\n\r\0\x0B")
26
 * @method static Helper upper()
27
 */
28
final class Stringable extends BaseFacade
29
{
30 19
    protected static function getFacadeAccessor()
31
    {
32 19
        return Helper::class;
33
    }
34
}
35