File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -219,7 +219,7 @@ service. Now you have two ways of injecting it in any service or controller:
219219
220220**(1) Use a specific argument name **
221221
222- Type-hint your construtor /method argument with ``HtmlSanitizerInterface `` and name
222+ Type-hint your constructor /method argument with ``HtmlSanitizerInterface `` and name
223223the argument using this pattern: "HTML sanitizer name in camelCase". For example, to
224224inject the ``app.post_sanitizer `` defined earlier, use an argument named ``$appPostSanitizer ``::
225225
Original file line number Diff line number Diff line change @@ -289,7 +289,7 @@ them in any service or controller:
289289
290290**(1) Use a specific argument name **
291291
292- Type-hint your construtor /method argument with ``LockFactory `` and name the
292+ Type-hint your constructor /method argument with ``LockFactory `` and name the
293293argument using this pattern: "lock name in camelCase" + ``LockFactory `` suffix.
294294For example, to inject the ``invoice `` package defined earlier::
295295
Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ them in any service or controller:
227227
228228**(1) Use a specific argument name **
229229
230- Type-hint your construtor /method argument with ``RateLimiterFactory `` and name
230+ Type-hint your constructor /method argument with ``RateLimiterFactory `` and name
231231the argument using this pattern: "rate limiter name in camelCase" + ``Limiter `` suffix.
232232For example, to inject the ``anonymous_api `` limiter defined earlier, use an
233233argument named ``$anonymousApiLimiter ``::
Original file line number Diff line number Diff line change @@ -2554,7 +2554,7 @@ them in any service or controller:
25542554
25552555**(1) Use a specific argument name **
25562556
2557- Type-hint your construtor /method argument with ``PackageInterface `` and name
2557+ Type-hint your constructor /method argument with ``PackageInterface `` and name
25582558the argument using this pattern: "asset package name in camelCase". For example,
25592559to inject the ``foo_package `` package defined earlier::
25602560
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ injecting each workflow in any service or controller:
332332
333333**(1) Use a specific argument name **
334334
335- Type-hint your construtor /method argument with ``WorkflowInterface `` and name the
335+ Type-hint your constructor /method argument with ``WorkflowInterface `` and name the
336336argument using this pattern: "workflow name in camelCase" + ``Workflow `` suffix.
337337If it is a state machine type, use the ``StateMachine `` suffix.
338338
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments