Overview

Namespaces

  • Faulancer
    • Controller
    • Exception
    • Form
      • Validator
        • Type
    • Helper
      • Reflection
    • Http
    • Mail
    • ORM
      • User
    • Service
      • Factory
    • ServiceLocator
    • Session
    • View
      • Helper

Classes

  • AuthenticatorService
  • Config
  • ControllerService
  • DbService
  • DispatcherService
  • HttpService
  • JsonResponseService
  • RequestService
  • ResponseService
  • SessionManagerService
  • 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
public boolean
# delete( $key )

Parameters

$key

Returns

boolean
Properties summary
protected array $_config

Holds the configuration data

Holds the configuration data

# []
API documentation generated by ApiGen