init
This commit is contained in:
26
mysyde/common/interfaces/Entity.php
Normal file
26
mysyde/common/interfaces/Entity.php
Normal file
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
namespace DynCom\mysyde\common\interfaces;
|
||||
/**
|
||||
* Created by PhpStorm.
|
||||
* User: Bauer
|
||||
* Date: 08.07.2015
|
||||
* Time: 01:36
|
||||
*/
|
||||
interface Entity
|
||||
{
|
||||
|
||||
public function getID();
|
||||
|
||||
public function getAllFieldsAsArray();
|
||||
|
||||
/**
|
||||
* @param array $array
|
||||
* @return mixed
|
||||
*/
|
||||
public function mapFromArray(array $array);
|
||||
|
||||
public function getAltPrimaryFieldNames();
|
||||
|
||||
public function getAltPrimaryFieldValues();
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user