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