diff --git a/_build/redirection_map b/_build/redirection_map index 1069505a81a..165e1c96132 100644 --- a/_build/redirection_map +++ b/_build/redirection_map @@ -515,3 +515,4 @@ /frontend/encore/shared-entry /frontend/encore/split-chunks /testing/functional_tests_assertions /testing#testing-application-assertions /security/named_encoders /security/named_hashers +/components/inflector /components/string#inflector diff --git a/components/inflector.rst b/components/inflector.rst deleted file mode 100644 index c42d6ebaeaa..00000000000 --- a/components/inflector.rst +++ /dev/null @@ -1,12 +0,0 @@ -.. index:: - single: Inflector - single: Components; Inflector - -The Inflector Component -======================= - -.. deprecated:: 5.1 - - The Inflector component was deprecated in Symfony 5.1 and its code was moved - into the :doc:`String ` component. - :ref:`Read the new Inflector docs `. diff --git a/components/property_access.rst b/components/property_access.rst index 9d3f4e355fc..c8b674293a1 100644 --- a/components/property_access.rst +++ b/components/property_access.rst @@ -400,7 +400,7 @@ The PropertyAccess component checks for methods called ``add()``. Both methods must be defined. For instance, in the previous example, the component looks for the ``addChild()`` and ``removeChild()`` methods to access to the ``children`` property. -`The Inflector component`_ is used to find the singular of a property name. +`The String component`_ inflector is used to find the singular of a property name. If available, *adder* and *remover* methods have priority over a *setter* method. @@ -538,4 +538,4 @@ Or you can pass parameters directly to the constructor (not the recommended way) // enable handling of magic __call, __set but not __get: $propertyAccessor = new PropertyAccessor(PropertyAccessor::MAGIC_CALL | PropertyAccessor::MAGIC_SET); -.. _The Inflector component: https://github.com/symfony/inflector +.. _`The String component`: https://github.com/symfony/string