Overview

Namespaces

  • Autarky
    • Config
      • Loaders
    • Console
    • Container
      • Exception
      • Factory
      • Proxy
    • Database
    • Errors
    • Events
    • Files
    • Http
    • Logging
    • Providers
    • Routing
      • Events
    • Testing
    • TwigTemplating
      • Extensions
    • Utils

Classes

  • ConfigProvider
  • FileStore
  • LoaderFactory

Interfaces

  • ConfigInterface
  • LoaderInterface

Exceptions

  • LoadException
  • Overview
  • Namespace
  • Class

Interface ConfigInterface

Interface for configuration stores.

Direct known implementers

Autarky\Config\FileStore
Namespace: Autarky\Config
Located at Config/ConfigInterface.php
Methods summary
public boolean
# has( string $key )

Determine if a key exists in the store.

Determine if a key exists in the store.

Should return true even if the value is null.

Parameters

$key

Returns

boolean
public mixed
# get( string $key, mixed $default = null )

Get an item from the store.

Get an item from the store.

Parameters

$key
$default
If the value is not found, return this instead.

Returns

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

Set an item in the store temporarily - more specifically, the lifetime of the store object.

Set an item in the store temporarily - more specifically, the lifetime of the store object.

Parameters

$key
$value
public
# mount( string $location, string $path )

Mount a path to a specific location in the config tree.

Mount a path to a specific location in the config tree.

Parameters

$location
$path
public
# setEnvironment( string $environment )

Set the environment.

Set the environment.

Parameters

$environment
Autarky Framework API documentation generated by ApiGen