web-base/Core/Objects/DatabaseEntity/Attribute/UsePropertiesOf.php
2023-03-05 15:30:06 +01:00

16 lines
296 B
PHP

<?php
namespace Core\Objects\DatabaseEntity\Attribute;
#[\Attribute(\Attribute::TARGET_CLASS)] class UsePropertiesOf {
private string $class;
public function __construct(string $class) {
$this->class = $class;
}
public function getClass(): string {
return $this->class;
}
}