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

Annotation JoinTable. More...

+ Inheritance diagram for JoinTable:

Public Member Functions

 __construct (string $name, ?array $joinColumns=null, ?array $inverseJoinColumns=null)
 
- 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 $name
 
array $joinColumns
 
array $inverseJoinColumns
 

Additional Inherited Members

- Protected Member Functions inherited from BaseAttribute
 getDefaultParameters ()
 

Detailed Description

Annotation JoinTable.

usages :

  • #[JoinTable(name: "tableName")]
  • #[JoinTable(name: "tableName",joinColumns: ["fieldname"=>"value"])]
  • #[JoinTable(name: "tableName",joinColumns: ["fieldname"=>"value"],inverseJoinColumns: ["fieldname"=>"value"])]
Author
jc
Version
1.0.1

Definition at line 19 of file JoinTable.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $name,
?array  $joinColumns = null,
?array  $inverseJoinColumns = null 
)

Definition at line 25 of file JoinTable.php.

Field Documentation

◆ $inverseJoinColumns

array $inverseJoinColumns

Definition at line 23 of file JoinTable.php.

◆ $joinColumns

array $joinColumns

Definition at line 22 of file JoinTable.php.

◆ $name

string $name

Definition at line 21 of file JoinTable.php.


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