<?php
namespace App\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="App\Repository\ServiceCategoryRepository")
*/
class ServiceCategory extends AbstractPage
{
public function getImagePath() {
return $this->getContent()->getImage();
}
public function getRequiredAttrs()
{
return [
'description' => 'html',
];
}
}