public CheckProviderInterface::setChecks(RouteCollection $routes)
For each route, saves a list of applicable access checks to the route.
\Symfony\Component\Routing\RouteCollection $routes: A collection of routes to apply checks to.
public function setChecks(RouteCollection $routes);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Access!CheckProviderInterface.php/function/CheckProviderInterface::setChecks/8.1.x