ApacheMod
        
        extends FakeServerConf
    
    
            
            in package
            
        
    
    
    
        
            simulate a server configured with apache + mod_php
Table of Contents
- $documentRoot : mixed
 - full path to the document root
 - $scriptName : mixed
 - part of the path from the document root path to the physical php script
 - __construct() : mixed
 - setHttpRequest() : mixed
 - setDefaultServer() : mixed
 
Properties
$documentRoot
full path to the document root
    protected
        mixed
    $documentRoot
     = '/var/www/'
    
        
    
$scriptName
part of the path from the document root path to the physical php script
    protected
        mixed
    $scriptName
     = '/index.php'
    
        
    
Methods
__construct()
    public
                __construct([string $documentRoot = null ][, string $scriptName = null ]) : mixed
    
        Parameters
- $documentRoot : string = null
 - 
                    
the path of the document root of the site
 - $scriptName : string = null
 - 
                    
the PHP script name: path in the url from the domain name to the script itself
 
Return values
mixed —setHttpRequest()
    public
                setHttpRequest(mixed $url[, mixed $method = 'get' ][, mixed $body = '' ][, mixed $bodyContentType = 'application/x-www-form-urlencoded' ]) : mixed
    
        Parameters
- $url : mixed
 - $method : mixed = 'get'
 - 
                    
the http method (get, post...)
 - $body : mixed = ''
 - 
                    
the content of the request for http method that need it it can be an array
 - $bodyContentType : mixed = 'application/x-www-form-urlencoded'
 
Return values
mixed —setDefaultServer()
    protected
                setDefaultServer() : mixed
        
    
    
        