CommandRegistry
class CommandRegistry implements ApplicationAwareInterface (View source)
Adds commands to the console
Important note: this used to be a part of the Console service provider (which has been removed). We had to remove it because it fired too early. Packages could not modify the dependencies passed to the command classes because they fired after the commands were registered. This is simplified and provides exactly the same functionality.
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
| protected Application | $app | from ApplicationAwareTrait | |
| protected Application | $console | ||
| protected string[] | $commands | Commands that are always available.  | 
                |
| protected string[] | $installedCommands | Commands that only get added when Concrete is installed.  | 
                |
| protected string[] | $migrationCommands | The commands used for migration. These get an extra MigrationConfiguration object.  | 
                
Methods
No description
No description
No description
No description
No description
No description
Details
        
                            
    setApplication(Application $app)
        
    
    Setter method for the application
        
                            
    __construct(Application $console)
        
    
    CommandRegistry constructor.
        
                            
    registerCommands()
        
    
    No description
        
                    protected        
    setupDefaultCommands()
        
    
    No description
        
                            
    setupInstalledCommands()
        
    
    No description
        
                            
    setupDoctrineCommands()
        
    
    No description
        
                    protected        
    setupTaskCommands()
        
    
    No description
        
                        private    Configuration|mixed
    getMigrationConfiguration()
        
    
    No description