CreateCommand
    
            
            in package
            
        
    
            
            implements
                            Command                    
    
    
        
            File Create command is used by the File Factory Strategy.
The command is passed to the registered middle ware classes.
Interfaces, Classes and Traits
- Command
 - Commands are used by Middleware
 
Table of Contents
- $context : ContextStack
 - $file : File
 - $strategies : StrategyContainer
 - __construct() : mixed
 - Initializes this command.
 - getContext() : ContextStack
 - getFile() : File
 - getStrategies() : StrategyContainer
 - Returns the strategyContainer in this command context.
 
Properties
$context
    private
        ContextStack
    $context
    
        
        
    
$file
    private
        File
    $file
    
        
        
    
$strategies
    private
        StrategyContainer
    $strategies
    
        
        
    
Methods
__construct()
Initializes this command.
    public
                __construct(ContextStack $context, File $file, StrategyContainer $strategies) : mixed
    
        Parameters
- $context : ContextStack
 - $file : File
 - $strategies : StrategyContainer
 
Return values
mixed —getContext()
    public
                getContext() : ContextStack
        
    
    
        Return values
ContextStack —getFile()
    public
                getFile() : File
        
    
    
        Return values
File —getStrategies()
Returns the strategyContainer in this command context.
    public
                getStrategies() : StrategyContainer