File tree Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Expand file tree Collapse file tree 5 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -350,4 +350,4 @@ Then see webpage in browser:
350
350
351
351
Hey, that looks a lot like a *traditional * Symfony application! You're right: the
352
352
``MicroKernelTrait `` *is * still Symfony: but you can control your structure and
353
- features in a lighter way .
353
+ features with less boilerplate configuration and code .
Original file line number Diff line number Diff line change @@ -28,7 +28,8 @@ to solve the most common Webpack use cases.
28
28
.. tip ::
29
29
30
30
Encore is made by `Symfony `_ and works *beautifully * in Symfony applications.
31
- But it can be used in any application or language!
31
+ But it can be used in any PHP application and even with other server side
32
+ programming languages!
32
33
33
34
.. _encore-toc :
34
35
Original file line number Diff line number Diff line change 3
3
4
4
The purpose of the Callback constraint is to create completely custom
5
5
validation rules and to assign any validation errors to specific fields
6
- on your object. If you're using validation with forms, this means that you
7
- can make these custom errors display next to a specific field, instead at
8
- the top of your form .
6
+ on your object. If you're using validation with forms, this means that
7
+ instead of displaying custom errors at the top of the form, you can
8
+ display them next to the field they apply to .
9
9
10
10
This process works by specifying one or more *callback * methods, each of
11
11
which will be called during the validation process. Each of those methods
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ or an array (see `input`_).
56
56
Basic Usage
57
57
-----------
58
58
59
- The most important options are `input `_ and `widget `_.
59
+ This field type is highly configurable. The most important options are `input `_ and `widget `_.
60
60
61
61
You can configure *a lot * of different options, including exactly *which * range
62
62
options to show (e.g. don't show "months", but *do * show "days")::
Original file line number Diff line number Diff line change @@ -121,9 +121,9 @@ be available inside your controller. Its value can be used to determine which
121
121
set of blog posts to display for the given page.
122
122
123
123
But hold on! Since placeholders are required by default, this route will
124
- no longer match on ``/blog ``. Instead, to see page 1 of the blog, you'd
125
- need to use the URL ``/blog/1 ``! Since that's no way for a rich web app
126
- to behave, modify the route to make the ``{page} `` parameter optional.
124
+ no longer match on ``/blog `` alone . Instead, to see page 1 of the blog,
125
+ you'd need to use the URL ``/blog/1 ``! Since that's no way for a rich web
126
+ app to behave, modify the route to make the ``{page} `` parameter optional.
127
127
This is done by including it in the ``defaults `` collection:
128
128
129
129
.. configuration-block ::
You can’t perform that action at this time.
0 commit comments