Build a store from its registration, whichever form it was declared in.
A class is constructed with the container, which is what auto-wires the services its actions use; a
factory is called with it; a data definition needs nothing. The container is only required by the
forms that use it, so building a plain store stays dependency-free.
Build a store from its registration, whichever form it was declared in.
A class is constructed with the container, which is what auto-wires the services its actions use; a factory is called with it; a data definition needs nothing. The container is only required by the forms that use it, so building a plain store stays dependency-free.