Encoder
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 0
dl 0
loc 4
ccs 2
cts 2
cp 1
c 0
b 0
f 0
1
<?php
2
/**
3
 * Encoder.php
4
 *
5
 * @copyright      More in license.md
6
 * @license        https://www.ipublikuj.eu
7
 * @author         Adam Kadlec <[email protected]>
8
 * @package        iPublikuj:JsonAPIClient!
9
 * @subpackage     Encoders
10
 * @since          1.0.0
11
 *
12
 * @date           05.05.18
13
 */
14
15
declare(strict_types = 1);
16
17
namespace IPub\JsonAPIClient\Encoders;
18
19
use Neomerx\JsonApi\Encoder\Encoder as BaseEncoder;
20
use Neomerx\JsonApi\Encoder\Serialize\ArraySerializerTrait;
21
22
/**
23
 * Encoder
24
 *
25
 * @package        iPublikuj:JsonAPIClient!
26
 * @subpackage     Encoders
27
 *
28
 * @author         Adam Kadlec <[email protected]>
29
 */
30 1
class Encoder extends BaseEncoder implements ISerializer
0 ignored issues
show
Bug introduced by
There is at least one abstract method in this class. Maybe declare it as abstract, or implement the remaining methods: serializeData, serializeError, serializeErrors, serializeIdentifiers, serializeMeta
Loading history...
31
{
32 1
	use ArraySerializerTrait;
33
}
34