8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
doctrine/dbal
1 parent 6caa25d commit b1d5de5Copy full SHA for b1d5de5
src/Symfony/Bridge/Doctrine/Tests/Fixtures/SingleAssociationToIntIdEntity.php
@@ -14,13 +14,15 @@
14
use Doctrine\ORM\Mapping\Column;
15
use Doctrine\ORM\Mapping\Entity;
16
use Doctrine\ORM\Mapping\Id;
17
+use Doctrine\ORM\Mapping\JoinColumn;
18
use Doctrine\ORM\Mapping\OneToOne;
19
20
#[Entity]
21
class SingleAssociationToIntIdEntity
22
{
23
public function __construct(
24
#[Id, OneToOne(cascade: ['ALL'])]
25
+ #[JoinColumn(nullable: false)]
26
protected SingleIntIdNoToStringEntity $entity,
27
28
#[Column(nullable: true)]
0 commit comments