File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ for details.
8282Getting Services from the Service Container
8383------------------------------------------- 
8484
85+ .. caution ::
86+ 
87+     The "container scopes" concept explained in this section has been deprecated
88+     in Symfony 2.8 and it will be removed in Symfony 3.0.
89+ 
8590By using :class: `Symfony\\ Bundle\\ FrameworkBundle\\ Command\\ ContainerAwareCommand `
8691as the base class for the command (instead of the more basic
8792:class: `Symfony\\ Component\\ Console\\ Command\\ Command `), you have access to the
Original file line number Diff line number Diff line change 44How to Work with Scopes
55======================= 
66
7+ .. caution ::
8+ 
9+     The "container scopes" concept explained in this article has been deprecated
10+     in Symfony 2.8 and it will be removed in Symfony 3.0.
11+ 
712This article is all about scopes, a somewhat advanced topic related to the
813:doc: `/book/service_container `. If you've ever gotten an error mentioning
914"scopes" when creating services, then this article is for you.
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments