File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -468,9 +468,7 @@ Option 1: Using ``@Ignore`` Annotation
468
468
https://symfony.com/schema/dic/serializer-mapping/serializer-mapping-1.0.xsd"
469
469
>
470
470
<class name =" App\Model\MyClass" >
471
- <attribute name =" bar" >
472
- <ignore >true</ignore >
473
- </attribute >
471
+ <attribute name =" bar" ignore =" true" />
474
472
</class >
475
473
</serializer >
476
474
Original file line number Diff line number Diff line change @@ -301,7 +301,7 @@ Methods to Pad and Trim
301
301
u('template.html.twig')->trimSuffix('.html'); // 'template.html.twig'
302
302
u('template.html.twig')->trimSuffix('.twig'); // 'template.html'
303
303
u('template.html.twig')->trimSuffix('.html.twig'); // 'template'
304
- // when passing an array of prefix/sufix , only the first one found is trimmed
304
+ // when passing an array of prefix/suffix , only the first one found is trimmed
305
305
u('file-image-0001.png')->trimPrefix(['file-', 'image-']); // 'image-0001.png'
306
306
u('template.html.twig')->trimSuffix(['.twig', '.html']); // 'template.html'
307
307
You can’t perform that action at this time.
0 commit comments