PHP 클래스 SimpleSAML_Store, simplesamlphp

파일 보기 프로젝트 열기: simplesamlphp/simplesamlphp 1 사용 예제들

공개 메소드들

메소드 설명
delete ( string $type, string $key ) Delete a value from the data store.
get ( string $type, string $key ) : mixed | null Retrieve a value from the data store.
getInstance ( ) : SimpleSAML_Store | false Retrieve our singleton instance.
set ( string $type, string $key, mixed $value, integer | null $expire = null ) Save a value to the data store.

메소드 상세

delete() 추상적인 공개 메소드

Delete a value from the data store.
abstract public delete ( string $type, string $key )
$type string The data type.
$key string The key.

get() 추상적인 공개 메소드

Retrieve a value from the data store.
abstract public get ( string $type, string $key ) : mixed | null
$type string The data type.
$key string The key.
리턴 mixed | null The value.

getInstance() 공개 정적인 메소드

Retrieve our singleton instance.
public static getInstance ( ) : SimpleSAML_Store | false
리턴 SimpleSAML_Store | false The data store, or false if it isn't enabled.

set() 추상적인 공개 메소드

Save a value to the data store.
abstract public set ( string $type, string $key, mixed $value, integer | null $expire = null )
$type string The data type.
$key string The key.
$value mixed The value.
$expire integer | null The expiration time (unix timestamp), or null if it never expires.