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

JmsSerializerHandler   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 3
lcom 0
cbo 0
dl 0
loc 16
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A handle() 0 4 1
A supports() 0 4 1
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
}