<?php
namespace App\Entity\Content\Exhibits\Video;
use App\Entity\Content\AbstractObject;
use App\Entity\Content\Exhibits\VideoInterface;
use App\Entity\Content\Exhibits\VideoTrait;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Serializer\Annotation\Groups;
/**
* @ORM\Entity(
* repositoryClass = "App\Doctrine\Repository\Content\Exhibits\Video\VideoObjectRepository",
* )
*/
class VideoObject extends AbstractObject implements VideoInterface
{
const DISCR = 'exhibits.video';
const CLASSES__ALTERATION = VideoAlteration::class;
const ROUTING_SLUG = 'gallery';
use VideoTrait;
/**
* {@inheritDoc}
*/
public function __toString(): string
{
return $this->getHeadline();
}
}