This commit is contained in:
2026-02-17 14:56:23 +01:00
commit 68f7a95fdf
695 changed files with 154611 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<?php
namespace DynCom\mysyde\common\interfaces;
/**
* Created by PhpStorm.
* User: Micha
* Date: 19.01.2015
* Time: 00:22
*/
interface GenericDBModelInterface {
/**
* @return int|null
*/
public function getID();
/**
* @return ModelDBConfigInterface
*/
public function getConfig();
/**
* @return mixed NullObject for ModelClass
* If the class has no methods (with exception of construct, getters and setters),
* it suffices to pass a new instance without setting its values.
* Class methods that depend on data have to check whether those are set first.
*/
public function getNullObject();
/**
* @param array $fields
* @return array
*/
public function getFieldData(array $fields);
}