Nie możesz wybrać więcej, niż 25 tematów
Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
|
- <?php
-
- namespace App\Entity;
-
- use App\IModel\ImageInterface;
- use App\Model\AbstractDocumentEntity;
- use App\Model\ImageTrait;
- use App\Repository\PageRepository;
- use Doctrine\ORM\Mapping as ORM;
-
- /**
- * @ORM\Entity(repositoryClass=PageRepository::class)
- */
- class Page extends AbstractDocumentEntity implements ImageInterface
- {
- use ImageTrait;
-
- /**
- * @ORM\Id
- * @ORM\GeneratedValue
- * @ORM\Column(type="integer")
- */
- private $id;
-
- public function getId(): ?int
- {
- return $this->id;
- }
- }
|