public function BaseMethod::__construct in DRD Agent 4.0.x
Same name and namespace in other branches
- 8.3 src/Crypt/BaseMethod.php \Drupal\drd_agent\Crypt\BaseMethod::__construct()
BaseMethod constructor.
Parameters
\Symfony\Component\DependencyInjection\ContainerInterface $container:
2 calls to BaseMethod::__construct()
- MCrypt::__construct in src/
Crypt/ Method/ MCrypt.php - BaseMethod constructor.
- OpenSSL::__construct in src/
Crypt/ Method/ OpenSSL.php - BaseMethod constructor.
2 methods override BaseMethod::__construct()
- MCrypt::__construct in src/
Crypt/ Method/ MCrypt.php - BaseMethod constructor.
- OpenSSL::__construct in src/
Crypt/ Method/ OpenSSL.php - BaseMethod constructor.
File
- src/
Crypt/ BaseMethod.php, line 30
Class
- BaseMethod
- Provides base encryption method.
Namespace
Drupal\drd_agent\CryptCode
public function __construct(ContainerInterface $container) {
$this->container = $container;
/** @noinspection NullPointerExceptionInspection */
$this->logger = $container
->get('logger.factory')
->get('DRD Agent');
}