You are here

protected property UserRouteEventSubscriber::$cache in Username Enumeration Prevention 8

A cache backend.

Type: \Drupal\Core\Cache\CacheBackendInterface

File

src/UserRouteEventSubscriber.php, line 49

Class

UserRouteEventSubscriber
Modifies user-related routes to respond with 404 rather than 403.

Namespace

Drupal\username_enumeration_prevention

Code

protected $cache;