add tag endpoint
This commit is contained in:
23
src/Entities/Tag.php
Normal file
23
src/Entities/Tag.php
Normal 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');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user