Builder   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
/******************************************************************************
4
 * This file is part of the "andrey-helldar/support" project.                 *
5
 *                                                                            *
6
 * @author Andrey Helldar <[email protected]>                                *
7
 *                                                                            *
8
 * @copyright 2021 Andrey Helldar                                             *
9
 *                                                                            *
10
 * @license MIT                                                               *
11
 *                                                                            *
12
 * @see https://github.com/andrey-helldar/support                             *
13
 *                                                                            *
14
 * For the full copyright and license information, please view the LICENSE    *
15
 * file that was distributed with this source code.                           *
16
 ******************************************************************************/
17
18
namespace Helldar\Support\Facades\Http;
19
20
use Helldar\Support\Facades\Facade;
21
use Helldar\Support\Helpers\Http\Builder as Support;
22
use Psr\Http\Message\UriInterface;
23
24
/**
25
 * @method static array toArray()
26
 * @method static int|null getPort()
27
 * @method static string getAuthority()
28
 * @method static string getBaseUrl()
29
 * @method static string getDomain()
30
 * @method static string getFragment()
31
 * @method static string getHost()
32
 * @method static string getPassword()
33
 * @method static string getPath()
34
 * @method static string getQuery()
35
 * @method static string getScheme()
36
 * @method static string getSubDomain()
37
 * @method static string getUser()
38
 * @method static string getUserInfo()
39
 * @method static string toUrl()
40
 * @method static Support fromPsr(UriInterface $uri)
41
 * @method static Support parse(string|UriInterface $url, int $component = Support::PHP_URL_ALL)
42
 * @method static Support parsed(array $parsed)
43
 * @method static Support putQuery(string $key, mixed $value)
44
 * @method static Support removeFragment()
45
 * @method static Support removeQuery(string $key)
46
 * @method static Support same()
47
 * @method static Support withFragment(string $fragment)
48
 * @method static Support withHost(string $host)
49
 * @method static Support withPath(string $path)
50
 * @method static Support withPort(int|null $host)
51
 * @method static Support withQuery(array|string $path)
52
 * @method static Support withScheme(string $scheme)
53
 * @method static Support withUserInfo(string $user, string $password = null)
54
 * @method static UriInterface toPsr()
55
 */
56
class Builder extends Facade
57
{
58 101
    protected static function getFacadeAccessor()
59
    {
60 101
        return Support::class;
61
    }
62
}
63