EntityModelManager
EntityModelManager
Allowes you to access the EntityModel of each entity.
Methods summary
Modifier and Type | Method |
---|---|
public | __construct ( array registeredClassNames , EntityModelFactory entityModelFactory ) |
public | getRegisteredClassNames ( ) |
public | clear ( ) |
public ReflectionClass [] | getEntityClasses ( ) |
public EntityModel | getEntityModelByClass ( ReflectionClass class ) |
public | getEntityModelByEntityObj ( unknown entity ) |
public | isRegistered ( string className ) |
Methods in detail
-
__construct
-
getRegisteredClassNames
public getRegisteredClassNames ( ) -
clear
public clear ( ) -
getEntityClasses
ReflectionClass public getEntityClasses ( )return
ReflectionClass -
getEntityModelByClass
-
getEntityModelByEntityObj
public getEntityModelByEntityObj ( unknown entity ) -
isRegistered
public isRegistered ( string className )