phpDocumentor

MenuUrl

Class MenuUrl

Table of Contents

$params  : array<string|int, mixed>
$path  : string
equals()  : bool
Checks if the url information matches.
fromUri()  : static
Factory method for Url.
__construct()  : mixed
MenuUrl constructor.
serialize_array_values()  : mixed
Serializes array values for {@link array_intersect} to not throw a warning in PHP >= 8.0.

Properties

$params

private array<string|int, mixed> $params

Methods

equals()

Checks if the url information matches.

public equals(MenuUrl $other) : bool
Parameters
$other : MenuUrl
Return values
bool

fromUri()

Factory method for Url.

public static fromUri(string $requestUri) : static
Parameters
$requestUri : string
Return values
static

__construct()

MenuUrl constructor.

private __construct(string $path, array<string|int, mixed> $params) : mixed
Parameters
$path : string
$params : array<string|int, mixed>
Return values
mixed

serialize_array_values()

Serializes array values for {@link array_intersect} to not throw a warning in PHP >= 8.0.

private serialize_array_values( $arr) : mixed
Parameters
$arr :
Return values
mixed

Search results