프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$annotation_reader | |||
$class_name | string | ||
$entity_annotation | |||
$reflection_obj | ReflectionClass |
메소드 | 설명 | |
---|---|---|
__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 |
메소드 | 설명 | |
---|---|---|
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 ( ) : |
||
리턴 |
public getEntityAnnotation ( ) : |
||
리턴 |
public getEntityMetadata ( boolean $shallow = false ) : |
||
$shallow | boolean | |
리턴 |
public getIndices ( ) : Bravo3\Orm\Mappers\Metadata\Index[] | ||
리턴 | Bravo3\Orm\Mappers\Metadata\Index[] |
public getRelationships ( ) : |
||
리턴 |
public getSortables ( ) : |
||
리턴 |
protected AnnotationReader,Doctrine\Common\Annotations $annotation_reader | ||
리턴 |
protected Entity,Bravo3\Orm\Annotations $entity_annotation | ||
리턴 |