PHP Класс Overtrue\Socialite\Config

Наследование: implements ArrayAcces\ArrayAccess
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$config array

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

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

get() публичный Метод

Get an item from an array using "dot" notation.
public get ( string $key, mixed $default = null ) : mixed
$key string
$default mixed
Результат mixed

offsetExists() публичный Метод

Whether a offset exists.
С версии: 5.0.0
public offsetExists ( mixed $offset ) : boolean
$offset mixed

An offset to check for.

Результат boolean true on success or false on failure.

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

offsetGet() публичный Метод

Offset to retrieve.
С версии: 5.0.0
public offsetGet ( mixed $offset ) : mixed
$offset mixed

The offset to retrieve.

Результат mixed Can return all value types

offsetSet() публичный Метод

Offset to set.
С версии: 5.0.0
public offsetSet ( mixed $offset, mixed $value )
$offset mixed

The offset to assign the value to.

$value mixed

The value to set.

offsetUnset() публичный Метод

Offset to unset.
С версии: 5.0.0
public offsetUnset ( mixed $offset )
$offset mixed

The offset to unset.

set() публичный Метод

Set an array item to a given value using "dot" notation.
public set ( string $key, mixed $value ) : array
$key string
$value mixed
Результат array

Описание свойств

$config защищенное свойство

protected array $config
Результат array