Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
JoinColumn Class Reference

Annotation JoinColumn. More...

+ Inheritance diagram for JoinColumn:

Public Member Functions

 __construct (string $name, string $className, ?string $referencedColumnName=null, ?bool $nullable=false, ?string $dbType='')
 
- Public Member Functions inherited from Column
 __construct (string $name, bool $nullable=false, string $dbType='')
 
- Public Member Functions inherited from BaseAttribute
 __construct ()
 
 asAnnotation ()
 
 getNamespace ()
 
 __toString ()
 
- Public Member Functions inherited from BaseAnnotationTrait
 getProperties ()
 
 getPropertiesAndValues ($props=NULL)
 
 isSameAs ($annot)
 

Data Fields

string $className
 
string $referencedColumnName
 
- Data Fields inherited from Column
string $name
 
bool $nullable = false
 
string $dbType
 

Additional Inherited Members

- Protected Member Functions inherited from BaseAttribute
 getDefaultParameters ()
 

Detailed Description

Annotation JoinColumn.

usages :

  • #[JoinColumn(className: "modelClassname")]
  • #[JoinColumn(className: "modelClassname",referencedColumnName: "columnName")]
Author
jc
Version
1.0.0

Definition at line 17 of file JoinColumn.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $name,
string  $className,
?string  $referencedColumnName = null,
?bool  $nullable = false,
?string  $dbType = '' 
)

Definition at line 21 of file JoinColumn.php.

Field Documentation

◆ $className

string $className

Definition at line 18 of file JoinColumn.php.

◆ $referencedColumnName

string $referencedColumnName

Definition at line 19 of file JoinColumn.php.


The documentation for this class was generated from the following file: