public BanIpManager::__construct(Connection $connection)
Construct the BanSubscriber.
Parameters
\Drupal\Core\Database\Connection $connection: The database connection which will be used to check the IP against.
File
- core/modules/ban/src/BanIpManager.php, line 25
Class
- BanIpManager
- Ban IP manager.
Namespace
Drupal\ban
Code
public function __construct(Connection $connection) { $this->connection = $connection; }
Please login to continue.