Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
ManyToMany.php
Go to the documentation of this file.
1<?php
2
4
6use Attribute;
7
19#[Attribute(Attribute::TARGET_PROPERTY)]
21
22 public string $targetEntity;
23 public ?string $inversedBy;
24 public ?string $mappedBy;
25 public ?array $cascade;
26
27 public function __construct(string $targetEntity, ?string $inversedBy = null, ?string $mappedBy = null, ?array $cascade = null) {
28 $this->targetEntity = $targetEntity;
29 $this->inversedBy = $inversedBy;
30 $this->mappedBy = $mappedBy;
31 $this->cascade = $cascade;
32 }
33}
Ubiquity\annotations$BaseAnnotationTrait This class is part of Ubiquity.
Ubiquity\attributes$BaseAttribute This class is part of Ubiquity.
__construct(string $targetEntity, ?string $inversedBy=null, ?string $mappedBy=null, ?array $cascade=null)