PHP Class Overtrue\Socialite\Config

Inheritance: implements ArrayAcces\ArrayAccess
Afficher le fichier Open project: overtrue/socialite Class Usage Examples

Protected Properties

Свойство Type Description
$config array

Méthodes publiques

Méthode Description
__construct ( array $config ) Config constructor.
get ( string $key, mixed $default = null ) : mixed Get an item from an array using "dot" notation.
offsetExists ( mixed $offset ) : boolean Whether a offset exists.
offsetGet ( mixed $offset ) : mixed Offset to retrieve.
offsetSet ( mixed $offset, mixed $value ) Offset to set.
offsetUnset ( mixed $offset ) Offset to unset.
set ( string $key, mixed $value ) : array Set an array item to a given value using "dot" notation.

Method Details

__construct() public méthode

Config constructor.
public __construct ( array $config )
$config array

get() public méthode

Get an item from an array using "dot" notation.
public get ( string $key, mixed $default = null ) : mixed
$key string
$default mixed
Résultat mixed

offsetExists() public méthode

Whether a offset exists.
public offsetExists ( mixed $offset ) : boolean
$offset mixed

An offset to check for.

Résultat boolean true on success or false on failure.

The return value will be casted to boolean if non-boolean was returned

offsetGet() public méthode

Offset to retrieve.
public offsetGet ( mixed $offset ) : mixed
$offset mixed

The offset to retrieve.

Résultat mixed Can return all value types

offsetSet() public méthode

Offset to set.
public offsetSet ( mixed $offset, mixed $value )
$offset mixed

The offset to assign the value to.

$value mixed

The value to set.

offsetUnset() public méthode

Offset to unset.
public offsetUnset ( mixed $offset )
$offset mixed

The offset to unset.

set() public méthode

Set an array item to a given value using "dot" notation.
public set ( string $key, mixed $value ) : array
$key string
$value mixed
Résultat array

Property Details

$config protected_oe property

protected array $config
Résultat array