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

16 lines
296 B
PHP
Raw Permalink Normal View History

2023-03-05 15:30:06 +01:00
<?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;
}
}