Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
ManyToMany.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
19
#[Attribute(Attribute::TARGET_PROPERTY)]
20
class
ManyToMany
extends
BaseAttribute
,
BaseAnnotationTrait
{
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
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\ManyToMany
Annotation ManyToMany.
Definition
ManyToMany.php:20
Ubiquity\attributes\items\ManyToMany\$targetEntity
string $targetEntity
Definition
ManyToMany.php:22
Ubiquity\attributes\items\ManyToMany\__construct
__construct(string $targetEntity, ?string $inversedBy=null, ?string $mappedBy=null, ?array $cascade=null)
Definition
ManyToMany.php:27
Ubiquity\attributes\items\ManyToMany\$inversedBy
string $inversedBy
Definition
ManyToMany.php:23
Ubiquity\attributes\items\ManyToMany\$cascade
array $cascade
Definition
ManyToMany.php:25
Ubiquity\attributes\items\ManyToMany\$mappedBy
string $mappedBy
Definition
ManyToMany.php:24
Ubiquity\attributes\items
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity-attributes
src
Ubiquity
attributes
items
ManyToMany.php
Generated on Sun Dec 10 2023 15:04:05 for
Ubiquity
by
doxygen
1.9.8