Version 3.0
New technologies
This commit is contained in:
11
api/common/Concept/Repository.php
Normal file
11
api/common/Concept/Repository.php
Normal file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
namespace Common\Concept;
|
||||
|
||||
interface Repository
|
||||
{
|
||||
public function fetchAll(): array;
|
||||
public function fetchByKey($key): Model;
|
||||
public function load(array $data_row): Model;
|
||||
public function save(Model $model): void;
|
||||
public function delete(Model $model): void;
|
||||
}
|
Reference in New Issue
Block a user