PHP 클래스 Webmozart\KeyValueStore\DbalStore

부터: 1.0
저자: Bernhard Schussek ([email protected])
저자: Michiel Boeckaert ([email protected])
상속: implements Webmozart\KeyValueStore\Api\KeyValueStore
파일 보기 프로젝트 열기: webmozart/key-value-store 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Doctrine\DBAL\Connection $connection, string $tableName = 'store' )
clear ( )
exists ( $key )
get ( $key, $default = null )
getMultiple ( array $keys, $default = null )
getMultipleOrFail ( array $keys )
getOrFail ( $key )
getTableForCreate ( ) : Doctrine\DBAL\Schema\Table Object Representation of the table used in this class.
getTableName ( ) : string The name for our DBAL database table.
keys ( )
remove ( $key )
set ( $key, $value )

비공개 메소드들

메소드 설명
doGetMultiple ( array $keys )
doInsert ( $key, $value )
doUpdate ( $key, $value )
getDbRow ( $key )

메소드 상세

__construct() 공개 메소드

public __construct ( Doctrine\DBAL\Connection $connection, string $tableName = 'store' )
$connection Doctrine\DBAL\Connection A doctrine connection instance
$tableName string The name of the database table

clear() 공개 메소드

public clear ( )

exists() 공개 메소드

public exists ( $key )

get() 공개 메소드

public get ( $key, $default = null )

getMultiple() 공개 메소드

public getMultiple ( array $keys, $default = null )
$keys array

getMultipleOrFail() 공개 메소드

public getMultipleOrFail ( array $keys )
$keys array

getOrFail() 공개 메소드

public getOrFail ( $key )

getTableForCreate() 공개 메소드

Object Representation of the table used in this class.
public getTableForCreate ( ) : Doctrine\DBAL\Schema\Table
리턴 Doctrine\DBAL\Schema\Table

getTableName() 공개 메소드

The name for our DBAL database table.
public getTableName ( ) : string
리턴 string

keys() 공개 메소드

public keys ( )

remove() 공개 메소드

public remove ( $key )

set() 공개 메소드

public set ( $key, $value )