PageUrlMatcherRegistry
class PageUrlMatcherRegistry (View source)
Contains matchers and matches pages.
Properties
protected AnnotationManager | $annotationManager | Annotation manager. | |
protected IPageUrlMatcher[] | $matchers | Registered page url matchers. |
Methods
__construct(AnnotationManager $annotation_manager)
Creates PageUrlMatcherRegistry instance.
void
ensureAnnotationsAreValid(array $annotations, string $annotation_name)
Checks that all annotations are valid.
Expectation
shouldReceive(string $name)
No description
Details
at line 46
__construct(AnnotationManager $annotation_manager)
Creates PageUrlMatcherRegistry instance.
at line 59
PageUrlMatcherRegistry
add(IPageUrlMatcher $page_url_matcher)
Adds a page url matcher instance.
at line 116
protected void
ensureAnnotationsAreValid(array $annotations, string $annotation_name)
Checks that all annotations are valid.