for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
/**
* @author Nicolas CARPi <[email protected]>
* @copyright 2024 Nicolas CARPi
* @see https://www.elabftw.net Official website
* @license AGPL-3.0
* @package elabftw
*/
namespace Elabftw\AuditEvent;
use Elabftw\Enums\AuditCategory;
class Import extends AbstractAuditEvent
{
public function __construct(int $requesterUserid, private int $count)
parent::__construct($requesterUserid, 0);
}
public function getBody(): string
return sprintf('User imported %d entries', $this->count);
public function getCategory(): int
return AuditCategory::Import->value;