Skip to content

Commit 9ac04e4

Browse files
authored
Update code snippets (#6154)
Releases: main
1 parent bcc7de0 commit 9ac04e4

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

Documentation/ApiOverview/Database/DoctrineDbal/ExpressionBuilder/_ExpressionBuilder.rst.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
44
.. php:class:: ExpressionBuilder
55
6-
The ExpressionBuilder class is responsible for dynamically creating parts of
7-
SQL queries.
6+
ExpressionBuilder class is responsible to dynamically create SQL query parts.
87

9-
It builds query conditions, ensuring that table and column names
10-
are quoted inside the expressions / SQL fragments. The class is a facade to
11-
the Doctrine ExpressionBuilder.
8+
It takes care building query conditions while ensuring table and column names
9+
are quoted within the created expressions / SQL fragments. It is a facade to
10+
the actual Doctrine ExpressionBuilder.
1211

13-
The ExpressionBuilder is used in the context of the QueryBuilder to ensure
14-
that queries conform to the requirements of whichever database platform is in use.
12+
The ExpressionBuilder is used within the context of the QueryBuilder to ensure
13+
queries are being build based on the requirements of the database platform in
14+
use.

Documentation/CodeSnippets/Events/Form/BeforeFormIsDeletedEvent.rst.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@
33
44
.. php:class:: BeforeFormIsDeletedEvent
55
6-
Listeners to this event will be able to prevent deletion of a form and/or
7-
add custom logic.
6+
Listeners to this Event will be able to:
7+
- Get the form persistence identifier before a form is deleted
8+
- Stop the deletion process by setting preventDeletion to true
9+
- Add custom logic, e.g. cleanup tasks, before deletion
810

911
.. php:attr:: formPersistenceIdentifier
1012
:readonly:
1113
:public:
1214

1315
.. php:attr:: preventDeletion
1416
:public:
17+
18+
.. php:method:: isPropagationStopped()
1519
:returns: `bool`

Documentation/CodeSnippets/Events/Form/BeforeRenderableIsRenderedEvent.rst.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,10 @@
33
44
.. php:class:: BeforeRenderableIsRenderedEvent
55
6-
Listeners to this event will be able to modify the renderable (form element) before it is rendered or the form can be modified at runtime
6+
Listeners to this Event will be able to modify the renderable before it is rendered.
77

88
.. php:attr:: renderable
99
:public:
1010

11-
The form element
12-
1311
.. php:attr:: formRuntime
1412
:public:
15-
16-
The runtime form

0 commit comments

Comments
 (0)