PHP Interface MetaModels\IFactory
To create a MetaModel instance, create an instance of the factory.
and call {@link \MetaModels\IFactory::getMetaModel()}.
If you only have the id of a MetaModel, you can translate it to the MetaModel-name by invoking
{@link \MetaModels\IFactory::translateIdToMetaModelName()} and then perform just as normal.
Show file
Open project: metamodels/core
Interface Usage Examples
Public Methods
Method Details
collectNames()
public method
Query for all known MetaModel names.
public collectNames ( ) : string[] |
return |
string[] |
all MetaModel names as string array. |
getServiceContainer()
public method
Retrieve the service container.
public getServiceContainer ( ) : metamodels\IMetaModelsServiceContainer |
return |
metamodels\IMetaModelsServiceContainer |
|