Ubiquity
2.5.2
php rapid development framework
Loading...
Searching...
No Matches
JoinColumn.php
Go to the documentation of this file.
1
<?php
2
3
namespace
Ubiquity\attributes\items
;
4
5
use Attribute;
6
16
#[Attribute(Attribute::TARGET_PROPERTY)]
17
class
JoinColumn
extends
Column
{
18
public
string
$className
;
19
public
?
string
$referencedColumnName
;
20
21
public
function
__construct
(
string
$name
,
string
$className
, ?
string
$referencedColumnName
=
null
, ?
bool
$nullable
=
false
, ?
string
$dbType
=
''
) {
22
parent::__construct(
$name
,
$nullable
,
$dbType
);
23
$this->className =
$className
;
24
$this->referencedColumnName =
$referencedColumnName
;
25
}
26
}
Ubiquity\attributes\items\Column
Annotation Column.
Definition
Column.php:23
Ubiquity\attributes\items\Column\$name
string $name
Definition
Column.php:25
Ubiquity\attributes\items\Column\$nullable
bool $nullable
Definition
Column.php:27
Ubiquity\attributes\items\Column\$dbType
string $dbType
Definition
Column.php:29
Ubiquity\attributes\items\JoinColumn
Annotation JoinColumn.
Definition
JoinColumn.php:17
Ubiquity\attributes\items\JoinColumn\$referencedColumnName
string $referencedColumnName
Definition
JoinColumn.php:19
Ubiquity\attributes\items\JoinColumn\$className
string $className
Definition
JoinColumn.php:18
Ubiquity\attributes\items\JoinColumn\__construct
__construct(string $name, string $className, ?string $referencedColumnName=null, ?bool $nullable=false, ?string $dbType='')
Definition
JoinColumn.php:21
Ubiquity\attributes\items
C:
Users
myadd
Documents
GitHub
ubiquity-doc-api
vendor
phpmv
ubiquity-attributes
src
Ubiquity
attributes
items
JoinColumn.php
Generated on Sun Dec 10 2023 15:04:04 for
Ubiquity
by
doxygen
1.9.8