web-base/Core/Objects/DatabaseEntity/Attribute/Multiple.php

18 lines
317 B
PHP
Raw Normal View History

2022-11-20 17:13:53 +01:00
<?php
namespace Core\Objects\DatabaseEntity\Attribute;
#[\Attribute(\Attribute::TARGET_PROPERTY)]
class Multiple {
private string $className;
public function __construct(string $className) {
$this->className = $className;
}
public function getClassName(): string {
return $this->className;
}
}