File tree Expand file tree Collapse file tree 3 files changed +49
-2
lines changed
Expand file tree Collapse file tree 3 files changed +49
-2
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,14 @@ $result->getPropertyErrorMessages('email');
9595];
9696```
9797
98+ #### Filtering by a specific path
99+
100+ This list of error messages can be filtered by a specific path to property.
101+
102+ ``` php
103+ $result->getPropertyErrorMessagesByPath(['person', 'first_name']);
104+ ```
105+
98106### Сообщения об ошибках, сгруппированные по свойству
99107
100108Для группировки сообщений об ошибках по свойству, используйте следующий
Original file line number Diff line number Diff line change 77msgid ""
88msgstr ""
99"Project-Id-Version : PACKAGE VERSION\n "
10- "POT-Creation-Date : 2025-04-06 07:24 +0000\n "
10+ "POT-Creation-Date : 2025-07-18 14:58 +0000\n "
1111"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1212"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1313"Language-Team : LANGUAGE <LL@li.org>\n "
@@ -192,6 +192,24 @@ msgid ""
192192"];\n"
193193msgstr ""
194194
195+ #. type: Title ####
196+ #: guide/en/result.md
197+ #, no-wrap
198+ msgid "Filtering by a specific path"
199+ msgstr ""
200+
201+ #. type: Plain text
202+ #: guide/en/result.md
203+ msgid ""
204+ "This list of error messages can be filtered by a specific path to property."
205+ msgstr ""
206+
207+ #. type: Fenced code block (php)
208+ #: guide/en/result.md
209+ #, no-wrap
210+ msgid "$result->getPropertyErrorMessagesByPath(['person', 'first_name']);\n"
211+ msgstr ""
212+
195213#. type: Title ###
196214#: guide/en/result.md
197215#, no-wrap
Original file line number Diff line number Diff line change 66msgid ""
77msgstr ""
88"Project-Id-Version : \n "
9- "POT-Creation-Date : 2025-04-06 07:24 +0000\n "
9+ "POT-Creation-Date : 2025-07-18 14:58 +0000\n "
1010"PO-Revision-Date : 2025-04-12 21:30+0500\n "
1111"Last-Translator : Automatically generated\n "
1212"Language-Team : none\n "
@@ -198,6 +198,27 @@ msgstr ""
198198" 'This value is not a valid email address.',\n"
199199"];\n"
200200
201+ #. type: Title ####
202+ #: guide/en/result.md
203+ #, fuzzy , no-wrap
204+ #| msgid "Filtering by a specific property"
205+ msgid "Filtering by a specific path"
206+ msgstr "Фильтрация по определенному свойству"
207+
208+ #. type: Plain text
209+ #: guide/en/result.md
210+ #, fuzzy
211+ #| msgid "Error messages not bound to a specific property"
212+ msgid "This list of error messages can be filtered by a specific path to property."
213+ msgstr "Сообщения об ошибках, не привязанные к определенному свойству"
214+
215+ #. type: Fenced code block (php)
216+ #: guide/en/result.md
217+ #, fuzzy , no-wrap
218+ #| msgid "$result->getPropertyErrorMessages('email');\n"
219+ msgid "$result->getPropertyErrorMessagesByPath(['person', 'first_name']);\n"
220+ msgstr "$result->getPropertyErrorMessages('email');\n"
221+
201222#. type: Title ###
202223#: guide/en/result.md
203224#, no-wrap
You can’t perform that action at this time.
0 commit comments