File tree 8 files changed +12
-12
lines changed
Filter options
8 files changed +12
-12
lines changed
Original file line number Diff line number Diff line change @@ -50,9 +50,9 @@ you can also set the current progress by calling the
50
50
51
51
If your platform doesn't support ANSI codes, updates to the progress
52
52
bar are added as new lines. To prevent the output from being flooded,
53
- use the method :method: `Symfony\\ Component\\ Console\\ Helper\\ ProgressBar::minSecondsBetweenRedraws `
54
- to limit the number of redraws and the method
55
- :method: `Symfony\\ Component\\ Console\\ Helper\\ ProgressBar::setRedrawFrequency `
53
+ use the :method: `Symfony\\ Component\\ Console\\ Helper\\ ProgressBar::minSecondsBetweenRedraws `
54
+ method to limit the number of redraws and the
55
+ :method: `Symfony\\ Component\\ Console\\ Helper\\ ProgressBar::setRedrawFrequency ` method
56
56
to redraw every N iterations. By default, redraw frequency is
57
57
**100ms ** or **10% ** of your ``max ``.
58
58
Original file line number Diff line number Diff line change @@ -285,7 +285,7 @@ been set::
285
285
}
286
286
}
287
287
288
- The method :method: `Symfony\\ Component\\ OptionsResolver\\ OptionsResolver::getMissingOptions `
288
+ The :method: `Symfony\\ Component\\ OptionsResolver\\ OptionsResolver::getMissingOptions ` method
289
289
lets you access the names of all missing options.
290
290
291
291
Type Validation
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Routing System Setup
31
31
A routing system has three parts:
32
32
33
33
* A :class: `Symfony\\ Component\\ Routing\\ RouteCollection `, which contains the
34
- route definitions (instances of the class :class: `Symfony\\ Component\\ Routing\\ Route `);
34
+ route definitions (instances of the :class: `Symfony\\ Component\\ Routing\\ Route ` class );
35
35
* A :class: `Symfony\\ Component\\ Routing\\ RequestContext `, which has information
36
36
about the request;
37
37
* A :class: `Symfony\\ Component\\ Routing\\ Matcher\\ UrlMatcher `, which performs
Original file line number Diff line number Diff line change @@ -100,10 +100,10 @@ Authentication Providers
100
100
101
101
Each provider (since it implements
102
102
:class: `Symfony\\ Component\\ Security\\ Core\\ Authentication\\ Provider\\ AuthenticationProviderInterface `)
103
- has a method :method: `Symfony\\ Component\\ Security\\ Core\\ Authentication\\ Provider\\ AuthenticationProviderInterface::supports `
103
+ has a :method: `Symfony\\ Component\\ Security\\ Core\\ Authentication\\ Provider\\ AuthenticationProviderInterface::supports ` method
104
104
by which the ``AuthenticationProviderManager ``
105
105
can determine if it supports the given token. If this is the case, the
106
- manager then calls the provider's method :method: `Symfony\\ Component\\ Security\\ Core\\ Authentication\\ Provider\\ AuthenticationProviderInterface::authenticate `.
106
+ manager then calls the provider's :method: `Symfony\\ Component\\ Security\\ Core\\ Authentication\\ Provider\\ AuthenticationProviderInterface::authenticate ` method .
107
107
This method should return an authenticated token or throw an
108
108
:class: `Symfony\\ Component\\ Security\\ Core\\ Exception\\ AuthenticationException `
109
109
(or any other exception extending it).
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ Finally, you need to update the code of the controller that handles the form::
143
143
144
144
if ($form->isSubmitted() && $form->isValid()) {
145
145
/** @var UploadedFile $brochureFile */
146
- $brochureFile = $form[ 'brochure'] ->getData();
146
+ $brochureFile = $form->get( 'brochure') ->getData();
147
147
148
148
// this condition is needed because the 'brochure' field is not required
149
149
// so the PDF file must be processed only when a file is uploaded
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ Validates that a value is a valid "file", which can be one of the following:
6
6
* A string (or object with a ``__toString() `` method) path to an existing
7
7
file;
8
8
* A valid :class: `Symfony\\ Component\\ HttpFoundation\\ File\\ File ` object
9
- (including objects of class :class: `Symfony\\ Component\\ HttpFoundation\\ File\\ UploadedFile `).
9
+ (including objects of :class: `Symfony\\ Component\\ HttpFoundation\\ File\\ UploadedFile ` class ).
10
10
11
- This constraint is commonly used in forms with the :doc: `FileType </ reference/forms/types/file >`
11
+ This constraint is commonly used in forms with the :doc: `FileType <reference/forms/types/file >`
12
12
form field.
13
13
14
14
.. tip ::
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ on the ``validator`` service (which implements :class:`Symfony\\Component\\Valid
127
127
The job of the ``validator `` is to read the constraints (i.e. rules)
128
128
of a class and verify if the data on the object satisfies those
129
129
constraints. If validation fails, a non-empty list of errors
130
- (class :class: `Symfony\\ Component\\ Validator\\ ConstraintViolationList `) is
130
+ (:class: `Symfony\\ Component\\ Validator\\ ConstraintViolationList ` class ) is
131
131
returned. Take this simple example from inside a controller::
132
132
133
133
// ...
Original file line number Diff line number Diff line change @@ -446,7 +446,7 @@ This means that each event has access to the following information:
446
446
:method: `Symfony\\ Component\\ Workflow\\ Event\\ Event::getMetadata `
447
447
Returns a metadata.
448
448
449
- For Guard Events, there is an extended class :class: `Symfony\\ Component\\ Workflow\\ Event\\ GuardEvent `.
449
+ For Guard Events, there is an extended :class: `Symfony\\ Component\\ Workflow\\ Event\\ GuardEvent ` class .
450
450
This class has two more methods:
451
451
452
452
:method: `Symfony\\ Component\\ Workflow\\ Event\\ GuardEvent::isBlocked `
You can’t perform that action at this time.
0 commit comments