Jet\Config_Definition
A simple class that allows you to get instances of configuration class definitions and configuration section classes.
Method | Importance |
---|---|
public static getMainConfigDefinition( string $class_name ): Config_Definition_Config |
Returns an instance of the definition for the given class (class name). So if you need to know how a certain configuration is defined, you can do this:
$config_definition = Config_Definition::getMainConfigDefinition(
|
public static getSectionConfigDefinition( string $class_name ): Config_Definition_Config_Section |
Returns an instance of the section definition for the class (class name). If you need to know the definition of a section, you can do this:
$config_definition = Config_Definition::getSectionConfigDefinition(
|