My\Infrastructure\UserRepositoryImpl::__construct PHP Метод

__construct() публичный Метод

public __construct ( EventStore $eventStore )
$eventStore Prooph\EventStore\EventStore
        public function __construct(EventStore $eventStore)
        {
            //We inject a Prooph\EventSourcing\EventStoreIntegration\AggregateTranslator that can handle our AggregateRoots
            parent::__construct($eventStore, AggregateType::fromAggregateRootClass('My\\Model\\User'), new AggregateTranslator(), null, null, true);
        }
UserRepositoryImpl