File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
Original file line number Diff line number Diff line change @@ -549,7 +549,7 @@ below for more details).
549
549
There are two main listeners to ``kernel.exception `` when using the
550
550
Symfony Framework.
551
551
552
- **ExceptionListener in HttpKernel **
552
+ **ExceptionListener in the HttpKernel Component **
553
553
554
554
The first comes core to the HttpKernel component
555
555
and is called :class: `Symfony\\ Component\\ HttpKernel\\ EventListener\\ ExceptionListener `.
@@ -578,7 +578,7 @@ below for more details).
578
578
controller to render is passed as a constructor argument to this listener.
579
579
This controller will return the final ``Response `` for this error page.
580
580
581
- **ExceptionListener in Security **
581
+ **ExceptionListener in the Security Component **
582
582
583
583
The other important listener is the
584
584
:class: `Symfony\\ Component\\ Security\\ Http\\ Firewall\\ ExceptionListener `.
Original file line number Diff line number Diff line change @@ -106,7 +106,7 @@ with the ``release()`` method.
106
106
107
107
The trickiest part when working with expiring locks is choosing the right TTL.
108
108
If it's too short, other processes could acquire the lock before finishing the
109
- job; it it's too long and the process crashes before calling the ``release() ``
109
+ job; if it's too long and the process crashes before calling the ``release() ``
110
110
method, the resource will stay locked until the timeout::
111
111
112
112
// ...
@@ -388,8 +388,8 @@ Some file systems (such as some types of NFS) do not support locking.
388
388
always be locked on the same machine or to use a well configured shared file
389
389
system.
390
390
391
- Files on file system can be removed during a maintenance operation. For instance
392
- to cleanup the ``/tmp `` directory or after a reboot of the machine when directory
391
+ Files on the file system can be removed during a maintenance operation. For instance,
392
+ to clean up the ``/tmp `` directory or after a reboot of the machine when a directory
393
393
uses tmpfs. It's not an issue if the lock is released when the process ended, but
394
394
it is in case of ``Lock `` reused between requests.
395
395
@@ -418,7 +418,7 @@ needs space to add new items.
418
418
419
419
.. caution ::
420
420
421
- Number of items stored in the Memcached must be under control. If it's not
421
+ The number of items stored in Memcached must be under control. If it's not
422
422
possible, LRU should be disabled and Lock should be stored in a dedicated
423
423
Memcached service away from Cache.
424
424
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ when constructing the normalizer::
185
185
$classMetadataFactory = new ClassMetadataFactory(new AnnotationLoader(new AnnotationReader()));
186
186
$normalizer = new ObjectNormalizer($classMetadataFactory);
187
187
$serializer = new Serializer([$normalizer]);
188
- $person = $serializer->deserialize($data, 'Acme \Person', 'xml', [
188
+ $person = $serializer->deserialize($data, 'App\Model \Person', 'xml', [
189
189
'allow_extra_attributes' => false,
190
190
]);
191
191
You can’t perform that action at this time.
0 commit comments