PHP Class tad\WPBrowser\Module\Support\UriToIndexMapper

Afficher le fichier Open project: lucatume/wp-browser Class Usage Examples

Protected Properties

Свойство Type Description
$map array
$root string The absolute path to the WordPress installation root folder.

Méthodes publiques

Méthode Description
__construct ( string $root ) UriToIndexMapper constructor.
getIndexForUri ( $uri )
getRoot ( ) : string
setRoot ( string $root )

Method Details

__construct() public méthode

UriToIndexMapper constructor.
public __construct ( string $root )
$root string The absolute path to WordPress root folder.

getIndexForUri() public méthode

public getIndexForUri ( $uri )

getRoot() public méthode

public getRoot ( ) : string
Résultat string

setRoot() public méthode

public setRoot ( string $root )
$root string

Property Details

$map protected_oe property

protected array $map
Résultat array

$root protected_oe property

The absolute path to the WordPress installation root folder.
protected string $root
Résultat string