web-base/core/Objects/DatabaseEntity/Attribute/Many.class.php

16 lines
278 B
PHP
Raw Normal View History

2022-06-20 19:52:31 +02:00
<?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;
}
}