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

Annotation Column. More...

+ Inheritance diagram for Column:

Public Member Functions

 __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 $name
 
bool $nullable = false
 
string $dbType
 

Additional Inherited Members

- Protected Member Functions inherited from BaseAttribute
 getDefaultParameters ()
 

Detailed Description

Annotation Column.

usages :

  • #[Column("columnName")]
  • #[Column(name: "columnName")]
  • #[Column(name: "columnName",nullable: true)]
  • #[Column(name: "columnName",dbType: "typeInDb")]

Ubiquity\attributes\items$Column This class is part of Ubiquity

Author
jc
Version
1.0.0

Definition at line 23 of file Column.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( string  $name,
bool  $nullable = false,
string  $dbType = '' 
)

Definition at line 31 of file Column.php.

Field Documentation

◆ $dbType

string $dbType

Definition at line 29 of file Column.php.

◆ $name

string $name

Definition at line 25 of file Column.php.

◆ $nullable

bool $nullable = false

Definition at line 27 of file Column.php.


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