PHP Class Prooph\EventStore\Container\Aggregate\AggregateRepositoryFactory

Don't extend from this class! in next major version this class will be final.
Inheritance: implements Interop\Config\RequiresConfigId, implements Interop\Config\RequiresMandatoryOptions, use trait Interop\Config\ConfigurationTrait
Afficher le fichier Open project: prooph/event-store

Méthodes publiques

Méthode Description
__callStatic ( string $name, array $arguments ) : mixed Creates a new instance from a specified config, specifically meant to be used as static factory.
__construct ( string $configId )
__invoke ( Interop\Container\ContainerInterface $container ) : AggregateRepository
dimensions ( )
mandatoryOptions ( )

Method Details

__callStatic() public static méthode

In case you want to use another config key than provided by the factories, you can add the following factory to your config: [AggregateRepositoryFactory::class, 'your_aggregate_class'], ];
public static __callStatic ( string $name, array $arguments ) : mixed
$name string
$arguments array
Résultat mixed

__construct() public méthode

public __construct ( string $configId )
$configId string

__invoke() public méthode

public __invoke ( Interop\Container\ContainerInterface $container ) : AggregateRepository
$container Interop\Container\ContainerInterface
Résultat Prooph\EventStore\Aggregate\AggregateRepository

dimensions() public méthode

public dimensions ( )

mandatoryOptions() public méthode

public mandatoryOptions ( )