Skip to content

[Inflector][String] Removed the component #15384

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions _build/redirection_map
Original file line number Diff line number Diff line change
Expand Up @@ -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
12 changes: 0 additions & 12 deletions components/inflector.rst

This file was deleted.

4 changes: 2 additions & 2 deletions components/property_access.rst
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ The PropertyAccess component checks for methods called ``add<SingularOfTheProper
and ``remove<SingularOfThePropertyName>()``. 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.

Expand Down Expand Up @@ -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