for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace League\JsonReference;
interface ReferenceSerializerInterface
{
/**
* @param \League\JsonReference\Reference $reference
*
* @return mixed data which can be serialized by json_encode,
* which is a value of any type other than a resource.
*/
public function serialize(Reference $reference);
}