vendor/gedmo/doctrine-extensions/src/Loggable/Entity/LogEntry.php line 36

  1. <?php
  2. /*
  3.  * This file is part of the Doctrine Behavioral Extensions package.
  4.  * (c) Gediminas Morkevicius <gediminas.morkevicius@gmail.com> http://www.gediminasm.org
  5.  * For the full copyright and license information, please view the LICENSE
  6.  * file that was distributed with this source code.
  7.  */
  8. namespace Gedmo\Loggable\Entity;
  9. use Doctrine\ORM\Mapping as ORM;
  10. use Gedmo\Loggable\Entity\Repository\LogEntryRepository;
  11. /**
  12.  * Gedmo\Loggable\Entity\LogEntry
  13.  *
  14.  * @ORM\Table(
  15.  *     name="ext_log_entries",
  16.  *     options={"row_format": "DYNAMIC"},
  17.  *     indexes={
  18.  *         @ORM\Index(name="log_class_lookup_idx", columns={"object_class"}),
  19.  *         @ORM\Index(name="log_date_lookup_idx", columns={"logged_at"}),
  20.  *         @ORM\Index(name="log_user_lookup_idx", columns={"username"}),
  21.  *         @ORM\Index(name="log_version_lookup_idx", columns={"object_id", "object_class", "version"})
  22.  *     }
  23.  * )
  24.  * @ORM\Entity(repositoryClass="Gedmo\Loggable\Entity\Repository\LogEntryRepository")
  25.  */
  26. #[ORM\Entity(repositoryClassLogEntryRepository::class)]
  27. #[ORM\Table(name'ext_log_entries'options: ['row_format' => 'DYNAMIC'])]
  28. #[ORM\Index(name'log_class_lookup_idx'columns: ['object_class'])]
  29. #[ORM\Index(name'log_date_lookup_idx'columns: ['logged_at'])]
  30. #[ORM\Index(name'log_user_lookup_idx'columns: ['username'])]
  31. #[ORM\Index(name'log_version_lookup_idx'columns: ['object_id''object_class''version'])]
  32. class LogEntry extends MappedSuperclass\AbstractLogEntry
  33. {
  34.     /*
  35.      * All required columns are mapped through inherited superclass
  36.      */
  37. }