add tag endpoint

This commit is contained in:
2024-12-20 23:46:30 +01:00
parent 7a157033f3
commit 7608d39af8
2 changed files with 63 additions and 0 deletions

23
src/Entities/Tag.php Normal file
View File

@ -0,0 +1,23 @@
<?php
namespace D3\KlicktippPhpClient\Entities;
use Doctrine\Common\Collections\ArrayCollection;
class Tag extends ArrayCollection
{
public function getId(): string
{
return $this->get('tagid');
}
public function getName(): string
{
return $this->get('name');
}
public function getText(): string
{
return $this->get('text');
}
}