web-base/core/Objects/DatabaseEntity/Attribute/Many.class.php
2022-06-20 19:52:31 +02:00

16 lines
278 B
PHP

<?php
namespace Objects\DatabaseEntity\Attribute;
#[\Attribute(\Attribute::TARGET_PROPERTY)] class Many {
private string $type;
public function __construct(string $type) {
$this->type = $type;
}
public function getValue(): string {
return $this->type;
}
}