Documentation

ContainerRepositoryFactory
in package
implements RepositoryFactory

FinalYes

Fetches repositories from the container or falls back to normal creation.

Table of Contents

Interfaces

RepositoryFactory
Interface for entity repository factory.

Properties

$container  : ContainerInterface
$managedRepositories  : array<string, ObjectRepository>

Methods

__construct()  : mixed
getRepository()  : ObjectRepository<string|int, T>
Gets the repository for an entity class.
getOrCreateRepository()  : ObjectRepository<string|int, TEntity>

Properties

Methods


        
On this page

Search results