Overview

Namespaces

  • momentphp
    • exceptions
    • interfaces
    • middlewares
    • providers
    • traits
  • None

Classes

  • App
  • Bundle
  • Cache
  • CallableResolver
  • Config
  • Controller
  • Database
  • DebugInfo
  • Error
  • ExceptionHandler
  • FlashMessages
  • Helper
  • Log
  • Middleware
  • Model
  • ObjectCache
  • Provider
  • Registry
  • Router
  • Settings
  • SmartyViewEngine
  • Template
  • TwigViewEngine
  • View
  • Overview
  • Namespace
  • Class

Class Settings

Settings

momentphp\Settings implements ArrayAccess
Namespace: momentphp
Located at Settings.php
Methods summary
public
# __construct( momentphp\Config $config, $prefix )

Constructor

Constructor

Parameters

$config
$prefix
protected string
# key( string $key )

Return prefixed key

Return prefixed key

Parameters

$key

Returns

string
public boolean
# offsetExists( string $key )

Determine if the given configuration option exists

Determine if the given configuration option exists

Parameters

$key

Returns

boolean

Implementation of

ArrayAccess::offsetExists()
public mixed
# offsetGet( string $key )

Get a configuration option

Get a configuration option

Parameters

$key

Returns

mixed

Implementation of

ArrayAccess::offsetGet()
public
# offsetSet( string $key, mixed $value )

Set a configuration option

Set a configuration option

Parameters

$key
$value

Implementation of

ArrayAccess::offsetSet()
public
# offsetUnset( string $key )

Unset a configuration option

Unset a configuration option

Parameters

$key

Implementation of

ArrayAccess::offsetUnset()
Properties summary
protected momentphp\Config $config

Config

Config

#
protected string $prefix

Config prefix

Config prefix

#
MomentPHP API documentation generated by ApiGen