public DatabaseBackend::__construct(Connection $connection, RequestStack$request_stack)
Construct the DatabaseBackend.
\Drupal\Core\Database\Connection $connection: The database connection which will be used to store the flood event information.
\Symfony\Component\HttpFoundation\RequestStack $request_stack: The request stack used to retrieve the current request.
public function __construct(Connection $connection, RequestStack $request_stack) { $this->connection = $connection; $this->requestStack = $request_stack; }
© 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!Flood!DatabaseBackend.php/function/DatabaseBackend::__construct/8.1.x