File: JoinedChildClass.php

package info (click to toggle)
doctrine 3.5.2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,608 kB
  • sloc: php: 108,619; xml: 1,340; makefile: 35; sh: 14
file content (21 lines) | stat: -rw-r--r-- 448 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php

declare(strict_types=1);

namespace Doctrine\Tests\Models\CompositeKeyInheritance;

use Doctrine\ORM\Mapping\Column;
use Doctrine\ORM\Mapping\Entity;
use Doctrine\ORM\Mapping\Id;

#[Entity]
class JoinedChildClass extends JoinedRootClass
{
    /** @var string */
    #[Column(type: 'string', length: 255)]
    public $extension = 'ext';

    #[Column(type: 'string', length: 255)]
    #[Id]
    private string $additionalId = 'additional';
}