at the end of the day, it was inevitable
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace ApiBundle\Entity;
|
||||
|
||||
/**
|
||||
* Interface NormalizableEntityInterface
|
||||
* @package ApiBundle\Entity
|
||||
*/
|
||||
interface NormalizableEntityInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Return metadata for current entity.
|
||||
*
|
||||
* @return \ApiBundle\Serializer\Metadata\Metadata
|
||||
*/
|
||||
public function getMetadata();
|
||||
|
||||
/**
|
||||
* Return default normalization groups.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function defaultGroups();
|
||||
}
|
||||
Reference in New Issue
Block a user