src/Entity/LogHistory.php line 17
<?php
namespace App\Entity;
use ApiPlatform\Metadata\ApiResource;
use App\Repository\LogHistoryRepository;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Loggable\Entity\MappedSuperclass\AbstractLogEntry;
#[ORM\Entity(repositoryClass: LogHistoryRepository::class)]
#[ApiResource]
#[ORM\Table(options: ['row_format' => 'DYNAMIC'])]
#[ORM\Index(name: 'log_class_lookup_idx', columns: ['object_class'])]
#[ORM\Index(name: 'log_date_lookup_idx', columns: ['logged_at'])]
#[ORM\Index(name: 'log_user_lookup_idx', columns: ['username'])]
#[ORM\Index(name: 'log_version_lookup_idx', columns: ['object_id', 'object_class', 'version'])]
class LogHistory extends AbstractLogEntry
{
/**
* Get data
*
* @return array|null
*/
public function getData()
{
return (array)$this->data;
}
}