diff options
Diffstat (limited to 'vendor/doctrine/orm/src/Mapping/MappedSuperclass.php')
| -rw-r--r-- | vendor/doctrine/orm/src/Mapping/MappedSuperclass.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/vendor/doctrine/orm/src/Mapping/MappedSuperclass.php b/vendor/doctrine/orm/src/Mapping/MappedSuperclass.php new file mode 100644 index 0000000..29475a2 --- /dev/null +++ b/vendor/doctrine/orm/src/Mapping/MappedSuperclass.php | |||
| @@ -0,0 +1,18 @@ | |||
| 1 | <?php | ||
| 2 | |||
| 3 | declare(strict_types=1); | ||
| 4 | |||
| 5 | namespace Doctrine\ORM\Mapping; | ||
| 6 | |||
| 7 | use Attribute; | ||
| 8 | use Doctrine\ORM\EntityRepository; | ||
| 9 | |||
| 10 | #[Attribute(Attribute::TARGET_CLASS)] | ||
| 11 | final class MappedSuperclass implements MappingAttribute | ||
| 12 | { | ||
| 13 | /** @psalm-param class-string<EntityRepository>|null $repositoryClass */ | ||
| 14 | public function __construct( | ||
| 15 | public readonly string|null $repositoryClass = null, | ||
| 16 | ) { | ||
| 17 | } | ||
| 18 | } | ||
