BanIpManager::__construct

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;
}
doc_Drupal
2016-10-29 08:45:29
Comments
Leave a Comment

Please login to continue.