LFT
  • Namespace
  • Class
  • Tree

Namespaces

  • Docoflow
    • Contracts
    • Entity
    • Facades
    • Models
    • Traits
  • Docolight
    • Agno
      • Traits
    • Container
    • Http
      • Contracts
    • Rest
      • Handler
      • Http
    • Support
      • Debug
      • Traits
  • Docotory
    • Traits
  • None

Classes

  • ActiveRecordWrapper
  • Arr
  • Carbonate
  • ClassLoader
  • Collection
  • CollectionDataProvider
  • Facade
  • Factory
  • Fluent
  • Html
  • IterablePager
  • Repository
  • Set
  • Str

Class Repository

A class to access your items in dot notation.

Docolight\Support\Repository implements ArrayAccess
Namespace: Docolight\Support
Author: Krisan Alfa Timur krisanalfa@docotel.co.id
Located at Docolight/Support/Repository.php

Methods summary

public
# __construct( array $items = array() )

Create a new configuration repository.

Create a new configuration repository.

Parameters

$items
public boolean
# has( string $key )

Determine if the given configuration value exists.

Determine if the given configuration value exists.

Parameters

$key

Returns

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

Get the specified configuration value.

Get the specified configuration value.

Parameters

$key
$default

Returns

mixed
public
# set( array|string $key, mixed $value = null )

Set a given configuration value.

Set a given configuration value.

Parameters

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

Prepend a value onto an array configuration value.

Prepend a value onto an array configuration value.

Parameters

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

Push a value onto an array configuration value.

Push a value onto an array configuration value.

Parameters

$key
$value
public array
# all( )

Get all of the configuration items for the application.

Get all of the configuration items for the application.

Returns

array
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 array $items

All of the configuration items.

All of the configuration items.

# []
LFT API documentation generated by ApiGen