mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
docs
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
namespace Espo\Controllers;
|
||||
|
||||
use Espo\Core\Api\Request;
|
||||
use Espo\Core\Exceptions\BadRequest;
|
||||
use Espo\Core\Exceptions\Forbidden;
|
||||
use Espo\Core\Record\SearchParamsFetcher;
|
||||
use Espo\Tools\ActionHistory\Service as Service;
|
||||
|
||||
@@ -43,6 +45,10 @@ class LastViewed
|
||||
public function __construct(private SearchParamsFetcher $searchParamsFetcher, private Service $service)
|
||||
{}
|
||||
|
||||
/**
|
||||
* @throws BadRequest
|
||||
* @throws Forbidden
|
||||
*/
|
||||
public function getActionIndex(Request $request): stdClass
|
||||
{
|
||||
$searchParams = $this->searchParamsFetcher->fetch($request);
|
||||
|
||||
Reference in New Issue
Block a user