- Added a new ActionLog middleware to catch every modifying request and save the changes made and the user who did. - Added a new RequestLog to catch every request made whenever required.
21 lines
458 B
PHP
21 lines
458 B
PHP
<?php
|
|
|
|
namespace Lean\Api\Factory;
|
|
|
|
use DI\Attribute\Inject;
|
|
use Lean\LanguageHandler;
|
|
use Psr\Http\Message\ServerRequestInterface;
|
|
|
|
class LeanApiFormFactory implements LeanApiFormFactoryInterface
|
|
{
|
|
use FormFactories\DebugTrait, FormFactories\SecurityTrait;
|
|
|
|
#[Inject]
|
|
protected ServerRequestInterface $request;
|
|
|
|
#[Inject]
|
|
protected LanguageHandler $languageHandler;
|
|
|
|
#[Inject]
|
|
protected MessageFactoryInterface $messageFactory;
|
|
} |