PHP Interface Nextras\Orm\Model\IRepositoryLoader

Afficher le fichier Open project: nextras/orm Interface Usage Examples

Méthodes publiques

Méthode Description
getRepository ( string $className ) : Nextras\Orm\Repository\IRepository Returns instance of repository.
hasRepository ( string $className ) : boolean Returns true if repository exists.
isCreated ( string $className ) : boolean Checks, if repository has been already created.

Method Details

getRepository() public méthode

Returns instance of repository.
public getRepository ( string $className ) : Nextras\Orm\Repository\IRepository
$className string
Résultat Nextras\Orm\Repository\IRepository

hasRepository() public méthode

Returns true if repository exists.
public hasRepository ( string $className ) : boolean
$className string
Résultat boolean

isCreated() public méthode

Checks, if repository has been already created.
public isCreated ( string $className ) : boolean
$className string
Résultat boolean