\Overtrue\SocialiteConfig

Class Config.

Summary

Methods
Properties
Constants
__construct()
get()
set()
has()
offsetExists()
offsetGet()
offsetSet()
offsetUnset()
No public properties found
No constants found
No protected methods found
$config
N/A
No private methods found
No private properties found
N/A

Properties

$config

$config : array

Type

array

Methods

__construct()

__construct(array  $config) 

Config constructor.

Parameters

array $config

get()

get(string  $key, mixed  $default = null) : mixed

Get an item from an array using "dot" notation.

Parameters

string $key
mixed $default

Returns

mixed

set()

set(string  $key, mixed  $value) : array

Set an array item to a given value using "dot" notation.

Parameters

string $key
mixed $value

Returns

array

has()

has(string  $key) : boolean

Determine if the given configuration value exists.

Parameters

string $key

Returns

boolean

offsetExists()

offsetExists(mixed  $offset) : boolean

Whether a offset exists.

Parameters

mixed $offset

An offset to check for.

Returns

boolean —

true on success or false on failure.

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

offsetGet()

offsetGet(mixed  $offset) : mixed

Offset to retrieve.

Parameters

mixed $offset

The offset to retrieve.

Returns

mixed —

Can return all value types

offsetSet()

offsetSet(mixed  $offset, mixed  $value) 

Offset to set.

Parameters

mixed $offset

The offset to assign the value to.

mixed $value

The value to set.

offsetUnset()

offsetUnset(mixed  $offset) 

Offset to unset.

Parameters

mixed $offset

The offset to unset.