16 lines
278 B
PHP
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;
|
||
|
}
|
||
|
}
|