TypeMapperFacade   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getFacadeAccessor() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Swis\JsonApi\Client\Facades;
6
7
use Illuminate\Support\Facades\Facade;
8
use Swis\JsonApi\Client\Interfaces\TypeMapperInterface;
9
10
/**
11
 * @method static void setMapping(string $type, string $class)
12
 * @method static bool hasMapping(string $type)
13
 * @method static void removeMapping(string $type)
14
 * @method static \Swis\JsonApi\Client\Interfaces\ItemInterface getMapping(string $type)
15
 *
16
 * @see \Swis\JsonApi\Client\Interfaces\TypeMapperInterface
17
 */
18
class TypeMapperFacade extends Facade
19
{
20
    /**
21
     * {@inheritdoc}
22
     */
23
    protected static function getFacadeAccessor()
24
    {
25
        return TypeMapperInterface::class;
26
    }
27
}
28