Method | Description | |
---|---|---|
getConfiguration ( ) : array | ||
getEmitter ( ) : ArrayObject | object | Load event emitter. If entity has events and no emitter exists, create a new emitter. | |
getEntity ( ) : ArrayObject | object | Get the entity object. | |
getEntityCollection ( ) : SplStack | object | Get the custom entity collection | |
getFields ( ) : Doctrine\DBAL\Schema\Column[] | Get fields | |
getIndexes ( ) : Doctrine\DBAL\Schema\Index[] | Get indexes | |
getMapper ( ) : Blast\Orm\MapperInterface | Get entity mapper | |
getPrimaryKeyName ( ) : string | Get name of primary key | |
getRelations ( ) : Blast\Orm\Relations\RelationInterface[] | Get an array of relations | |
getTableName ( boolean $withPrefix = true ) : string | Get table name | |
setConfiguration ( array $configuration ) : |
Add additional configuration. Configuration will be merged into |
Method | Description | |
---|---|---|
mergeConfiguration ( array $configuration ) | Merge partial configuration into definition configuration. Normalize partial configuration keys before add them to configuration. Add custom configuration after adding known configuration. | |
processFields ( ) | Setup entity fields and determine undefined fields from entity with type string |
public getEmitter ( ) : ArrayObject | object | ||
return | ArrayObject | object |
public getEntityCollection ( ) : SplStack | object | ||
return | SplStack | object |
public getFields ( ) : Doctrine\DBAL\Schema\Column[] | ||
return | Doctrine\DBAL\Schema\Column[] |
public getIndexes ( ) : Doctrine\DBAL\Schema\Index[] | ||
return | Doctrine\DBAL\Schema\Index[] |
public getMapper ( ) : Blast\Orm\MapperInterface | ||
return | Blast\Orm\MapperInterface |
public getPrimaryKeyName ( ) : string | ||
return | string |
public getRelations ( ) : Blast\Orm\Relations\RelationInterface[] | ||
return | Blast\Orm\Relations\RelationInterface[] |
public getTableName ( boolean $withPrefix = true ) : string | ||
$withPrefix | boolean | |
return | string |
public setConfiguration ( array $configuration ) : |
||
$configuration | array | |
return |