ContentRepositoryFactory
final class ContentRepositoryFactory (View source)
Main factory to build a {ContentRepository} object.
Methods
No description
Builds and returns the content repository. If it is already built, returns the same instance.
A service is a high-level "application part" which builds upon the CR internals.
Details
__construct(ContentRepositoryId $contentRepositoryId, EventStoreInterface $eventStore, NodeTypeManager $nodeTypeManager, ContentDimensionSourceInterface $contentDimensionSource, Serializer $propertySerializer, AuthProviderFactoryInterface $authProviderFactory, ClockInterface $clock, SubscriptionStoreInterface $subscriptionStore, ContentGraphProjectionFactoryInterface $contentGraphProjectionFactory, CatchUpHookFactoryInterface|null $contentGraphCatchUpHookFactory, CommandHooksFactory $commandHooksFactory, ContentRepositorySubscriberFactories $additionalSubscriberFactories, LoggerInterface|null $logger = null, PerformanceTracerInterface|null $performanceTracer = null)
No description
ContentRepository
getOrBuild()
Builds and returns the content repository. If it is already built, returns the same instance.
ContentRepositoryServiceInterface
buildService(ContentRepositoryServiceFactoryInterface $serviceFactory)
A service is a high-level "application part" which builds upon the CR internals.
You don't usually need this yourself, but it is usually enough to simply use the {\Neos\ContentRepository\Core\ContentRepository} instance. If you want to extend the CR core and need to hook deeply into CR internals, this is what the {\Neos\ContentRepository\Core\Factory\ContentRepositoryServiceInterface} is for.