class RegexpPageUrlMatcher implements IPageUrlMatcher (View source)

Checks, that page is opened by comparing url using a regular expression.

Methods

float
getPriority()

Returns matcher priority.

string
getAnnotationName()

Returns the name of the annotation.

string
getAnnotationClass()

Returns the FQCN of the annotation.

boolean
matches(string $url, array $annotations)

Matches the given url against the given annotations.

Expectation
shouldReceive(string $name)

No description

Details

float getPriority()

Returns matcher priority.

Return Value

float

string getAnnotationName()

Returns the name of the annotation.

Return Value

string

string getAnnotationClass()

Returns the FQCN of the annotation.

Return Value

string

boolean matches(string $url, array $annotations)

Matches the given url against the given annotations.

Parameters

string $url The URL.
array $annotations Given annotations.

Return Value

boolean

Expectation shouldReceive(string $name)

Parameters

string $name

Return Value

Expectation