src/App/Entity/Content/Exhibits/Video/VideoObject.php line 16

Open in your IDE?
  1. <?php
  2. namespace App\Entity\Content\Exhibits\Video;
  3. use App\Entity\Content\AbstractObject;
  4. use App\Entity\Content\Exhibits\VideoInterface;
  5. use App\Entity\Content\Exhibits\VideoTrait;
  6. use Doctrine\ORM\Mapping as ORM;
  7. use Symfony\Component\Serializer\Annotation\Groups;
  8. /**
  9.  * @ORM\Entity(
  10.  *     repositoryClass = "App\Doctrine\Repository\Content\Exhibits\Video\VideoObjectRepository",
  11.  * )
  12.  */
  13. class VideoObject extends AbstractObject implements VideoInterface
  14. {
  15.     const DISCR 'exhibits.video';
  16.     const CLASSES__ALTERATION VideoAlteration::class;
  17.     const ROUTING_SLUG 'gallery';
  18.     use VideoTrait;
  19.     /**
  20.      * {@inheritDoc}
  21.      */
  22.     public function __toString(): string
  23.     {
  24.         return $this->getHeadline();
  25.     }
  26. }