ReferenceSerializerInterface
last analyzed

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
serialize() 0 1 ?
1
<?php
2
3
namespace League\JsonReference;
4
5
interface ReferenceSerializerInterface
6
{
7
    /**
8
     * @param \League\JsonReference\Reference $reference
9
     *
10
     * @return mixed data which can be serialized by json_encode,
11
     *                    which is a value of any type other than a resource.
12
     */
13
    public function serialize(Reference $reference);
14
}
15