tad\WPBrowser\Connector\WordPress::__construct PHP Method

__construct() public method

public __construct ( array $server = [], Symfony\Component\BrowserKit\History $history = null, Symfony\Component\BrowserKit\CookieJar $cookieJar = null, UriToIndexMapper $uriToIndexMapper = null )
$server array
$history Symfony\Component\BrowserKit\History
$cookieJar Symfony\Component\BrowserKit\CookieJar
$uriToIndexMapper tad\WPBrowser\Module\Support\UriToIndexMapper
    public function __construct(array $server = array(), History $history = null, CookieJar $cookieJar = null, UriToIndexMapper $uriToIndexMapper = null)
    {
        parent::__construct($server, $history, $cookieJar);
        $this->uriToIndexMapper = $uriToIndexMapper ? $uriToIndexMapper : new UriToIndexMapper($this->rootFolder);
    }