Jet\Application_Service_MetaInfo
The class represents service metadata within the application services subsystem.
This metadata is always present on an interface or an abstract class describing the interface of the given service.
| Method | Meaning |
|---|---|
| public __construct( string $group='', bool $is_mandatory=false, bool $multiple_mode=false, string $name='', string $description='', string $module_name_prefix='' ) |
Parameters:
|
| public static create( ReflectionClass $class, array $attributes ) : static |
Internal method – creates a definition instance for the given class. |
| public getGroup( ) : string |
Returns the string identifier of the service group to which the service belongs. |
| public setGroup( string $group ) : void |
Sets the string identifier of the service group to which the service belongs. |
| public setInterfaceClassName( string $interface_class_name ) : void |
Sets the name of the interface or abstract class describing the service interface. |
| public getInterfaceClassName( ) : string |
Returns the name of the interface or abstract class describing the service interface. |
| public getModuleNamePrefix( ) : string |
Returns the optional mandatory prefix of the application module name. |
| public setModuleNamePrefix( string $module_name_prefix ) : void |
Sets the optional mandatory prefix of the application module name. |
| public isMandatory( ) : bool |
Indicates whether the service is mandatory and must have a provider module in the application. |
| public setIsMandatory( bool $is_mandatory ) : void |
Sets whether the service is mandatory and must have a provider module in the application. |
| public isMultipleMode( ) : bool |
Indicates whether multiple providers can exist for the given service in the application. |
| public setMultipleMode( bool $multiple_mode ) : void |
Sets whether multiple providers can exist for the given service in the application. |
| public setName( string $name ) : void |
Sets the name of the service. |
| public getName( ) : string |
Returns the name of the service. |
| public setDescription( string $description ) : void |
Sets a brief description of the service. |
| public getDescription( ) : string |
Returns a brief description of the service. |