Overview

Namespaces

  • Faulancer
    • Console
      • Handler
    • Controller
    • Exception
    • Form
      • Validator
        • Type
    • Helper
      • Reflection
    • Http
    • ORM
    • Service
      • Factory
    • ServiceLocator
    • View
      • Helper

Classes

  • Config
  • ORM
  • Overview
  • Namespace
  • Class

Class Config

Represents a configuration array

Namespace: Faulancer\Service
Located at Service/Config.php
Methods summary
public boolean
# set( mixed $key, mixed $value = null, boolean $force = false )

Set configuration value by key

Set configuration value by key

Parameters

$key
$value
$force

Returns

boolean

Throws

Faulancer\Exception\ConfigInvalidException
public mixed
# get( string $key )

Get configuration value by key

Get configuration value by key

Parameters

$key

Returns

mixed

Throws

Faulancer\Exception\ConfigInvalidException
Properties summary
protected array $_config

Holds the configuration data

Holds the configuration data

# []
API documentation generated by ApiGen