merge_email_verifier #3

Merged
tracer merged 23 commits from merge_email_verifier into master 2022-11-04 10:35:23 +01:00
1 changed files with 2 additions and 4 deletions
Showing only changes of commit 2aeeb0d87e - Show all commits

View File

@ -2,21 +2,19 @@
namespace App\Entity; namespace App\Entity;
use ApiPlatform\Core\Annotation\ApiResource;
use App\Repository\QuotesRepository; use App\Repository\QuotesRepository;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
#[ORM\Entity(repositoryClass: QuotesRepository::class)] #[ORM\Entity(repositoryClass: QuotesRepository::class)]
#[ApiResource]
class Quotes class Quotes
{ {
#[ORM\Id] #[ORM\Id]
#[ORM\GeneratedValue] #[ORM\GeneratedValue]
#[ORM\Column(type: 'integer')] #[ORM\Column(type: 'integer')]
private $id; private int $id;
#[ORM\Column(type: 'text')] #[ORM\Column(type: 'text')]
private $quote; private string $quote;
public function getId(): ?int public function getId(): ?int
{ {