26 lines
439 B
PHP
26 lines
439 B
PHP
<?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();
|
|
}
|