at the end of the day, it was inevitable
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace ApiBundle\Entity;
|
||||
|
||||
use AppBundle\Entity\EntityInterface;
|
||||
|
||||
/**
|
||||
* Interface ManageableEntityInterface
|
||||
* Interface for entities which can be managed by api methods.
|
||||
*
|
||||
* @package ApiBundle\Entity
|
||||
*/
|
||||
interface ManageableEntityInterface extends EntityInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* Return fqcn of form used for creating this entity.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getCreateFormClass();
|
||||
|
||||
/**
|
||||
* Return fqcn of form used for updating this entity.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getUpdateFormClass();
|
||||
}
|
||||
Reference in New Issue
Block a user