summaryrefslogtreecommitdiff
path: root/vendor/doctrine/orm/src/Mapping/Embedded.php
blob: be69b4f5cab6f283284ad0cf2adad5f4cba2ffd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<?php

declare(strict_types=1);

namespace Doctrine\ORM\Mapping;

use Attribute;

#[Attribute(Attribute::TARGET_PROPERTY)]
final class Embedded implements MappingAttribute
{
    public function __construct(
        public readonly string|null $class = null,
        public readonly string|bool|null $columnPrefix = null,
    ) {
    }
}