Overview

Namespaces

  • Azalea
    • Selenium
      • App
        • Charts
        • Components
        • Encounters
        • Home
        • Login
        • Main
        • Messages
        • Patients
        • Scheduler
      • Core
      • EHR
        • UI
          • Charts
          • Documents
          • Encounters
          • Home
          • Messaging
            • Folders
          • Patients
          • Payments
          • Precerts
          • Reports
          • Scheduler
          • Settings
            • General
              • Locations
              • Roles
              • Users
        • User
      • Login
        • UI
      • PHR
        • UI
        • User
      • Toolkit
        • Exception
        • Validation
    • Util
  • None
  • tests
    • integration
      • barebones
        • controllers
          • charts
          • patients
          • system
        • models
          • billing
          • encounters
          • examples
          • messaging
          • rcm
          • system
    • unit
      • barebones
        • lib
        • utilities
          • calculations

Classes

  • Config
  • Debug
  • Overview
  • Namespace
  • Class

Class Config

Namespace: Azalea\Util
Located at lib/src/Azalea/Util/Config.php
Methods summary
public static mixed
# get( string $key, mixed $default = null )

Get a configuration value.

Get a configuration value.

Parameters

$key
$path
$default

Returns

mixed
public static
# set( string $key, mixed $value )

Set a configuration. The configuration's value is only changed for the duration of the request.

Set a configuration. The configuration's value is only changed for the duration of the request.

Parameters

$key
$path
$value
public static
# setPath( string $path )

Sets the path to the config directory

Sets the path to the config directory

Parameters

$path
public static string
# getPath( )

Gets the path to the config directory

Gets the path to the config directory

Returns

string
public static
# setEnvironment( string $env )

Sets the environment

Sets the environment

Parameters

$env
$path
public static string
# getEnvironment( )

Gets the environment

Gets the environment

Returns

string
protected static array
# getItems( string $group )

Parameters

$group
$path

Returns

array
protected static
# load( string $group )

Parameters

$group
$path

Throws

InvalidArgumentException
protected static array
# parseKey( array $key )

Parameters

$key

Returns

array

Throws

InvalidArgumentException
protected static
# requireFile( $file )
Properties summary
protected static string $path

$path

$path

# null
protected static string $environment

$environment

$environment

# ""
protected static array $cache

$cache

$cache

# array()
API documentation generated by ApiGen