Skip to content
Snippets Groups Projects
Commit 329fde3f authored by Larry Garfield's avatar Larry Garfield Committed by Alex Bronstein
Browse files

Document that PartialMatcherInterface::setCollection() is chainable.

parent a3e002db
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -14,6 +14,8 @@ class HttpMethodMatcher implements PartialMatcherInterface {
public function setCollection(RouteCollection $routes) {
$this->routes = $routes;
return $this;
}
/**
......
......@@ -10,6 +10,15 @@
*/
interface PartialMatcherInterface {
/**
* Sets the route collection this matcher should use.
*
* @param RouteCollection $collection
* The collection against which to match.
*
* @return PartialMatcherInterface
* The current matcher.
*/
public function setCollection(RouteCollection $collection);
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment