Composer
class Composer (View source)
Properties
| protected Filesystem | $files | The filesystem instance.  | 
                |
| protected string|null | $workingPath | The working path to regenerate from.  | 
                
Methods
                    void
                
                
                    __construct(Filesystem $files, string|null $workingPath = null)
        
                                            
                
            Create a new Composer manager instance.
                    int
                
                
                    dumpAutoloads(string|array $extra = '')
        
                                            
                
            Regenerate the Composer autoloader files.
                    int
                
                
                    dumpOptimized()
        
                                            
                
            Regenerate the optimized Composer autoloader files.
                    array
                
                
                    findComposer()
        
                                            
                
            Get the composer command for the environment.
                    string
                
                
                    phpBinary()
        
                                            
                
            Get the PHP binary.
                    Process
                
                
                    getProcess(array $command)
        
                                            
                
            Get a new Symfony process instance.
                    $this
                
                
                    setWorkingPath(string $path)
        
                                            
                
            Set the working path used by the class.
                    string|null
                
                
                    getVersion()
        
                                            
                
            Get the version of Composer.
Details
        
                            void
    __construct(Filesystem $files, string|null $workingPath = null)
        
    
    Create a new Composer manager instance.
        
                            int
    dumpAutoloads(string|array $extra = '')
        
    
    Regenerate the Composer autoloader files.
        
                            int
    dumpOptimized()
        
    
    Regenerate the optimized Composer autoloader files.
        
                            array
    findComposer()
        
    
    Get the composer command for the environment.
        
                    protected        string
    phpBinary()
        
    
    Get the PHP binary.
        
                    protected        Process
    getProcess(array $command)
        
    
    Get a new Symfony process instance.
        
                            $this
    setWorkingPath(string $path)
        
    
    Set the working path used by the class.
        
                            string|null
    getVersion()
        
    
    Get the version of Composer.