Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
OneToMany.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\attributes\items
;
4
5
use
Ubiquity\annotations\BaseAnnotationTrait
;
6
use Attribute;
7
17
#[Attribute(Attribute::TARGET_PROPERTY)]
18
class
OneToMany
extends
BaseAttribute
,
BaseAnnotationTrait
{
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
Ubiquity\annotations$BaseAnnotationTrait This class is part of Ubiquity.
Definition
BaseAnnotationTrait.php:13
Ubiquity\attributes\items\BaseAttribute
Ubiquity\attributes$BaseAttribute This class is part of Ubiquity.
Definition
BaseAttribute.php:15
Ubiquity\attributes\items\OneToMany
Annotation OneToMany.
Definition
OneToMany.php:18
Ubiquity\attributes\items\OneToMany\$className
string $className
Definition
OneToMany.php:21
Ubiquity\attributes\items\OneToMany\__construct
__construct(string $mappedBy, string $className, ?array $cascade=null)
Definition
OneToMany.php:24
Ubiquity\attributes\items\OneToMany\$cascade
array $cascade
Definition
OneToMany.php:22
Ubiquity\attributes\items\OneToMany\$mappedBy
string $mappedBy
Definition
OneToMany.php:20
Ubiquity\attributes\items
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity-attributes
src
Ubiquity
attributes
items
OneToMany.php
Generated on Sun Dec 10 2023 15:04:05 for
Ubiquity
by
doxygen
1.9.8