Completed
Pull Request — master (#52)
by Jasper
04:02
created

DocumentFactoryFacade::getFacadeAccessor()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

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 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
3
namespace Swis\JsonApi\Client\Facades;
4
5
use Illuminate\Support\Facades\Facade;
6
use Swis\JsonApi\Client\DocumentFactory;
7
8
/**
9
 * @method static \Swis\JsonApi\Client\Interfaces\DocumentInterface make(\Swis\JsonApi\Client\Interfaces\DataInterface $data)
10
 *
11
 * @see \Swis\JsonApi\Client\DocumentFactory
12
 */
13
class DocumentFactoryFacade extends Facade
14
{
15
    /**
16
     * {@inheritdoc}
17
     */
18
    protected static function getFacadeAccessor()
19
    {
20
        return DocumentFactory::class;
21
    }
22
}
23