Files
espocrm/application/Espo/Core/Controllers/Base.php
Yuri Kuznetsov 9246c4bd12 refactor
2013-11-19 18:02:35 +02:00

58 lines
718 B
PHP

<?php
namespace Espo\Core\Controllers;
class Base
{
private $container;
private $serviceFactory;
public function __construct(\Espo\Core\Container $container, \Espo\Core\ServiceFactory $serviceFactory)
{
$this->container = $container;
$this->serviceFactory = $serviceFactory;
}
protected function getContainer()
{
return $this->container;
}
protected function getServiceFactory()
{
return $this->serviceFactory;
}
public function actionRead($params, $data)
{
}
public function actionUpdate($params, $data)
{
}
public function actionPatch($params, $data)
{
}
public function actionCreate($params, $data)
{
}
public function actionDelete($params, $data)
{
}
}
?>