PHP 클래스 Predis\Profile\Factory

저자: Daniele Alessandri ([email protected])
파일 보기 프로젝트 열기: tillkruss/redis-object-cache 1 사용 예제들

공개 메소드들

메소드 설명
define ( string $alias, string $class ) Registers a new server profile.
get ( string $version ) : Predis\Profile\ProfileInterface Returns the specified server profile.
getDefault ( ) : Predis\Profile\ProfileInterface Returns the default server profile.
getDevelopment ( ) : Predis\Profile\ProfileInterface Returns the development server profile.

비공개 메소드들

메소드 설명
__construct ( )

메소드 상세

define() 공개 정적인 메소드

Registers a new server profile.
public static define ( string $alias, string $class )
$alias string Profile version or alias.
$class string FQN of a class implementing Predis\Profile\ProfileInterface.

get() 공개 정적인 메소드

Returns the specified server profile.
public static get ( string $version ) : Predis\Profile\ProfileInterface
$version string Profile version or alias.
리턴 Predis\Profile\ProfileInterface

getDefault() 공개 정적인 메소드

Returns the default server profile.
public static getDefault ( ) : Predis\Profile\ProfileInterface
리턴 Predis\Profile\ProfileInterface

getDevelopment() 공개 정적인 메소드

Returns the development server profile.
public static getDevelopment ( ) : Predis\Profile\ProfileInterface
리턴 Predis\Profile\ProfileInterface