PHP 클래스 Overtrue\Socialite\Config

상속: implements ArrayAcces\ArrayAccess
파일 보기 프로젝트 열기: overtrue/socialite 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$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.
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.
public offsetGet ( mixed $offset ) : mixed
$offset mixed

The offset to retrieve.

리턴 mixed Can return all value types

offsetSet() 공개 메소드

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() 공개 메소드

Offset to unset.
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