PHP 클래스 Doctrine\ODM\OrientDB\Repository

상속: implements Doctrine\Common\Persistence\ObjectRepository
파일 보기 프로젝트 열기: doctrine/orientdb-odm 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$className
$manager

공개 메소드들

메소드 설명
__call ( string $method, array $arguments ) : method Convenient method that intercepts the find*By*() calls.
__construct ( string $className, Manager $manager ) Instantiates a new repository.
find ( string $rid, $fetchPlan = '*:0' ) : object Finds an object by its primary key / identifier.
findAll ( ) : mixed Finds all objects in the repository.
findBy ( array $criteria, array $orderBy = [], integer | null $limit = null, integer | null $offset = null, $fetchPlan = '*:0' ) : mixed Finds objects by a set of criteria.
findOneBy ( array $criteria ) : object Finds a single object by a set of criteria.
getClassName ( ) : string Returns the POPO class associated with this repository.

보호된 메소드들

메소드 설명
contains ( object $document ) : boolean Verifies if the $document should belog to this repository.
getManager ( ) : Manager Returns the manager associated with this repository.
getOrientClasses ( ) : Array Returns the OrientDB classes which are mapper by the Repository's $className.

메소드 상세

__call() 공개 메소드

Convenient method that intercepts the find*By*() calls.
public __call ( string $method, array $arguments ) : method
$method string
$arguments array
리턴 method

__construct() 공개 메소드

Instantiates a new repository.
public __construct ( string $className, Manager $manager )
$className string type
$manager Manager

contains() 보호된 메소드

Verifies if the $document should belog to this repository.
protected contains ( object $document ) : boolean
$document object
리턴 boolean

find() 공개 메소드

Finds an object by its primary key / identifier.
public find ( string $rid, $fetchPlan = '*:0' ) : object
$rid string The identifier.
리턴 object The object.

findAll() 공개 메소드

Finds all objects in the repository.
public findAll ( ) : mixed
리턴 mixed The objects.

findBy() 공개 메소드

Optionally sorting and limiting details can be passed. An implementation may throw an UnexpectedValueException if certain values of the sorting or limiting details are not supported.
public findBy ( array $criteria, array $orderBy = [], integer | null $limit = null, integer | null $offset = null, $fetchPlan = '*:0' ) : mixed
$criteria array
$orderBy array
$limit integer | null
$offset integer | null
리턴 mixed The objects.

findOneBy() 공개 메소드

Finds a single object by a set of criteria.
public findOneBy ( array $criteria ) : object
$criteria array
리턴 object The object.

getClassName() 공개 메소드

Returns the POPO class associated with this repository.
public getClassName ( ) : string
리턴 string

getManager() 보호된 메소드

Returns the manager associated with this repository.
protected getManager ( ) : Manager
리턴 Manager

getOrientClasses() 보호된 메소드

Returns the OrientDB classes which are mapper by the Repository's $className.
protected getOrientClasses ( ) : Array
리턴 Array

프로퍼티 상세

$className 보호되어 있는 프로퍼티

protected $className

$manager 보호되어 있는 프로퍼티

protected $manager