/** * Crypt constructor. * @param ConfigManager $configManager */ public function __construct(ConfigManager $configManager) { $this->configManager = $configManager; $this->key = $this->configManager->getCryptKey(); }