Passed
Pull Request — main (#104)
by Andrey
14:17
created

Stringable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
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
    protected static function getFacadeAccessor()
29
    {
30
        return Helper::class;
31
    }
32
}
33