diff --git a/components/dependency_injection/factories.rst b/components/dependency_injection/factories.rst index e4cc04152f9..56acbe9a7f1 100644 --- a/components/dependency_injection/factories.rst +++ b/components/dependency_injection/factories.rst @@ -5,7 +5,7 @@ Using a Factory to Create Services ================================== .. versionadded:: 2.6 - The new `Symfony\\Component\\DependencyInjection\\Definition::setFactory` + The new :method:`Symfony\\Component\\DependencyInjection\\Definition::setFactory` method was introduced in Symfony 2.6. Refer to older versions for the syntax for factories prior to 2.6.