Property | Type | Description | |
---|---|---|---|
$annotation_reader | |||
$class_name | string | ||
$entity_annotation | |||
$reflection_obj | ReflectionClass |
Method | Description | |
---|---|---|
__construct ( $class_name ) | ||
getColumns ( ) : |
Get all columns in the entity | |
getEntityAnnotation ( ) : |
Lazy-load @Entity annotation | |
getEntityMetadata ( boolean $shallow = false ) : |
Get the Entity metadata object | |
getIndices ( ) : Bravo3\Orm\Mappers\Metadata\Index[] | Get all indices on the entity | |
getRelationships ( ) : |
Get all relationships in the entity | |
getSortables ( ) : |
Get table sortables | |
getTableName ( ) : string | Gets the entity table name |
Method | Description | |
---|---|---|
createRelationship ( string $name, |
Create a relationship from an annotation | |
getOrganicTableName ( ) : string | Get the table name by inflecting the class name | |
parseColumnAnnotation ( |
Parse a ColumnAnnotation and return a Column object | |
testConditionAnnotation ( |
Check a condition and throw an exception if it is invalid | |
validateTableName ( ) | Throw an exception if the table name contains illegal chars |
public getColumns ( ) : |
||
return |
public getEntityAnnotation ( ) : |
||
return |
public getEntityMetadata ( boolean $shallow = false ) : |
||
$shallow | boolean | |
return |
public getIndices ( ) : Bravo3\Orm\Mappers\Metadata\Index[] | ||
return | Bravo3\Orm\Mappers\Metadata\Index[] |
public getRelationships ( ) : |
||
return |
public getSortables ( ) : |
||
return |
public getTableName ( ) : string | ||
return | string |
protected AnnotationReader,Doctrine\Common\Annotations $annotation_reader | ||
return |
protected Entity,Bravo3\Orm\Annotations $entity_annotation | ||
return |