Construct the MemoryBackend.
Parameters
\Symfony\Component\HttpFoundation\Request $request:
The HttpRequest object representing the current request.
File
- drupal/core/lib/Drupal/Core/Flood/MemoryBackend.php, line 35
- Definition of Drupal\Core\Flood\MemoryBackend.
Class
- MemoryBackend
- Defines the memory flood backend. This is used for testing.
Namespace
Drupal\Core\Flood
Code
public function __construct(Request $request) {
$this->request = $request;
}