PHP Class JBZoo\SimpleTypes\Config\Config

Mostrar archivo Open project: jbzoo/simpletypes Class Usage Examples

Public Properties

Property Type Description
$default string Base for all converting
$defaultParams array Popular params for most measures
$isDebug boolean For logging all events

Protected Properties

Property Type Description
$_configs array

Public Methods

Method Description
getDefault ( string $type ) : Config
getRules ( ) : array List of rules
registerDefault ( string $type, Config $config )

Method Details

getDefault() public static method

public static getDefault ( string $type ) : Config
$type string
return Config

getRules() abstract public method

List of rules
abstract public getRules ( ) : array
return array

registerDefault() public static method

public static registerDefault ( string $type, Config $config )
$type string
$config Config

Property Details

$_configs protected_oe static_oe property

protected static array $_configs
return array

$default public_oe property

Base for all converting
public string $default
return string

$defaultParams public_oe property

Popular params for most measures
public array $defaultParams
return array

$isDebug public_oe property

For logging all events
public bool $isDebug
return boolean