PHP 클래스 Puli\Repository\NullRepository

This repository can be used if you need to inject a repository instance in some code, but you don't want that repository to do anything (for example in tests).
부터: 1.0
저자: Bernhard Schussek ([email protected])
상속: implements Puli\Repository\Api\EditableRepository
파일 보기 프로젝트 열기: puli/repository 1 사용 예제들

공개 메소드들

메소드 설명
add ( $path, $resource )
clear ( )
contains ( $query, $language = 'glob' )
find ( $query, $language = 'glob' )
get ( $path )
getVersions ( $path )
hasChildren ( $path )
listChildren ( $path )
remove ( $query, $language = 'glob' )

메소드 상세

add() 공개 메소드

public add ( $path, $resource )

clear() 공개 메소드

public clear ( )

contains() 공개 메소드

public contains ( $query, $language = 'glob' )

find() 공개 메소드

public find ( $query, $language = 'glob' )

get() 공개 메소드

public get ( $path )

getVersions() 공개 메소드

public getVersions ( $path )

hasChildren() 공개 메소드

public hasChildren ( $path )

listChildren() 공개 메소드

public listChildren ( $path )

remove() 공개 메소드

public remove ( $query, $language = 'glob' )