Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
JoinTable.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
18
#[Attribute(Attribute::TARGET_PROPERTY)]
19
class
JoinTable
extends
BaseAttribute
,
BaseAnnotationTrait
{
20
21
public
string
$name
;
22
public
?array
$joinColumns
;
23
public
?array
$inverseJoinColumns
;
24
25
public
function
__construct
(
string
$name
, ?array
$joinColumns
=
null
, ?array
$inverseJoinColumns
=
null
) {
26
$this->name =
$name
;
27
$this->joinColumns =
$joinColumns
;
28
$this->inverseJoinColumns =
$inverseJoinColumns
;
29
}
30
31
}
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\JoinTable
Annotation JoinTable.
Definition
JoinTable.php:19
Ubiquity\attributes\items\JoinTable\__construct
__construct(string $name, ?array $joinColumns=null, ?array $inverseJoinColumns=null)
Definition
JoinTable.php:25
Ubiquity\attributes\items\JoinTable\$name
string $name
Definition
JoinTable.php:21
Ubiquity\attributes\items\JoinTable\$joinColumns
array $joinColumns
Definition
JoinTable.php:22
Ubiquity\attributes\items\JoinTable\$inverseJoinColumns
array $inverseJoinColumns
Definition
JoinTable.php:23
Ubiquity\attributes\items
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity-attributes
src
Ubiquity
attributes
items
JoinTable.php
Generated on Sun Dec 10 2023 15:04:04 for
Ubiquity
by
doxygen
1.9.8