ReferenceSerializerInterface::serialize()
last analyzed

Size

Total Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
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