First almost working version of daemons

This commit is contained in:
osaajani 2019-12-12 00:56:30 +01:00
parent e709ed91b7
commit 6614c2cfeb
9 changed files with 491 additions and 20 deletions

View file

@ -24,6 +24,16 @@ namespace controllers\internals;
*/
abstract protected function get_model () : \descartes\Model;
/**
* Return all the entries
* @return array
*/
public function get_all ()
{
return $this->get_model()->get_all();
}
/**
* Return a entry by his id