1
0
mirror of https://github.com/Chouchen/ShikiryuRSS.git synced 2025-11-03 02:58:56 +01:00

🔒 Add formator

Closes #3
This commit is contained in:
2023-04-17 14:28:01 +02:00
committed by Shikiryu
parent 09d16fb74b
commit 58e0866b46
23 changed files with 571 additions and 367 deletions

View File

@@ -10,13 +10,14 @@ use Shikiryu\SRSS\Validator\Validator;
class Category extends HasValidator implements SRSSElement
{
/**
* @string
* @validate string
*/
public string $domain;
protected string $domain;
/**
* @string
* @validate string
*/
public string $value;
protected string $value;
public function isValid(): bool
{