Define Interface for List classes.
Implement a trait base for the lists.
Fix sort by current user at Review and Reassign lists.
This commit is contained in:
davidcallizaya
2017-11-21 09:35:32 -04:00
parent c7b6c4128c
commit 8d5308dff8
14 changed files with 250 additions and 215 deletions

View File

@@ -0,0 +1,27 @@
<?php
/**
* The list can create and update records.
*
*/
interface ListCreateUpdateInterface
{
/**
* Create an application record into list.
*
* @param type $data
*
* @throws Exception
*/
public function create($data);
/**
* Update an application record from list.
*
* @param type $data
*
* @throws Exception
*/
public function update($data);
}