PHP 클래스 Prooph\EventStore\Container\Aggregate\AggregateRepositoryFactory

Don't extend from this class! in next major version this class will be final.
상속: implements Interop\Config\RequiresConfigId, implements Interop\Config\RequiresMandatoryOptions, use trait Interop\Config\ConfigurationTrait
파일 보기 프로젝트 열기: prooph/event-store

공개 메소드들

메소드 설명
__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 ( )

메소드 상세

__callStatic() 공개 정적인 메소드

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
리턴 mixed

__construct() 공개 메소드

public __construct ( string $configId )
$configId string

__invoke() 공개 메소드

public __invoke ( Interop\Container\ContainerInterface $container ) : AggregateRepository
$container Interop\Container\ContainerInterface
리턴 Prooph\EventStore\Aggregate\AggregateRepository

dimensions() 공개 메소드

public dimensions ( )

mandatoryOptions() 공개 메소드

public mandatoryOptions ( )