Passed
Push — master ( 7dbd33...a12ced )
by Michael
02:23
created

JmsSerializerHandler::supports()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 1
crap 2
1
<?php
2
declare(strict_types = 1);
3
4
namespace Mikemirten\Bundle\JsonApiBundle\ObjectHandler;
5
6
use Mikemirten\Component\JsonApi\Document\ResourceObject;
7
8
class JmsSerializerHandler implements ObjectHandlerInterface
9
{
10
    public function __construct()
11
    {
12
    }
13
14
    public function handle($object): ResourceObject
15
    {
16
        // TODO: Named mappers
17
    }
18
19
    public function supports(string $class): bool
20
    {
21
22
    }
23
}