Passed
Push — master ( bed106...5574d5 )
by Jasper
11:56
created

TypeMapperFacade   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

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