PHP Class tad\WPBrowser\Connector\WordPress

Inheritance: extends Codeception\Lib\Connector\Universal
Afficher le fichier Open project: lucatume/wp-browser Class Usage Examples

Protected Properties

Свойство Type Description
$domain string
$headers array
$insulated boolean
$rootFolder string
$uriToIndexMapper tad\WPBrowser\Module\Support\UriToIndexMapper
$url string

Méthodes publiques

Méthode Description
__construct ( array $server = [], Symfony\Component\BrowserKit\History $history = null, Symfony\Component\BrowserKit\CookieJar $cookieJar = null, UriToIndexMapper $uriToIndexMapper = null )
doRequestInProcess ( Symfony\Component\BrowserKit\Request $request ) : Symfony\Component\BrowserKit\Response
getDomain ( )
getHeaders ( )
getIndex ( )
getRootFolder ( )
resetCookies ( )
setDomain ( $domain )
setHeaders ( array $headers = [] )
setIndexFor ( $uri )
setRootFolder ( string $rootFolder )
setUrl ( $url )

Private Methods

Méthode Description
replaceSiteUrlDeep ( $array, $url )

Method Details

__construct() public méthode

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

doRequestInProcess() public méthode

public doRequestInProcess ( Symfony\Component\BrowserKit\Request $request ) : Symfony\Component\BrowserKit\Response
$request Symfony\Component\BrowserKit\Request
Résultat Symfony\Component\BrowserKit\Response

getDomain() public méthode

public getDomain ( )

getHeaders() public méthode

public getHeaders ( )

getIndex() public méthode

public getIndex ( )

getRootFolder() public méthode

public getRootFolder ( )

resetCookies() public méthode

public resetCookies ( )

setDomain() public méthode

public setDomain ( $domain )

setHeaders() public méthode

public setHeaders ( array $headers = [] )
$headers array

setIndexFor() public méthode

public setIndexFor ( $uri )

setRootFolder() public méthode

public setRootFolder ( string $rootFolder )
$rootFolder string

setUrl() public méthode

public setUrl ( $url )

Property Details

$domain protected_oe property

protected string $domain
Résultat string

$headers protected_oe property

protected array $headers
Résultat array

$insulated protected_oe property

protected bool $insulated
Résultat boolean

$rootFolder protected_oe property

protected string $rootFolder
Résultat string

$uriToIndexMapper protected_oe property

protected UriToIndexMapper,tad\WPBrowser\Module\Support $uriToIndexMapper
Résultat tad\WPBrowser\Module\Support\UriToIndexMapper

$url protected_oe property

protected string $url
Résultat string