File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -91,11 +91,9 @@ application:
91
91
# Custom migration sorting service id via callables (MyCallableFactory must be a callable)
92
92
' Doctrine\Migrations\Version\Comparator ' : ' MyCallableFactory'
93
93
94
-
95
-
96
-
97
94
- The ``services `` node allows you to provide custom services to the underlying ``DependencyFactory `` part of ``doctrine/migrations ``.
98
95
- The node ``factories `` is similar to ``services ``, with the difference that it accepts only callables.
96
+
99
97
The provided callable must return the service to be passed to the ``DependencyFactory ``.
100
98
The callable will receive as first argument the ``DependencyFactory `` itself,
101
99
allowing you to fetch other dependencies from the factory while instantiating your custom dependencies.
You can’t perform that action at this time.
0 commit comments