public function __construct(EccAdapter $adapter, KeyParser $keyParser) { $this->adapter = $adapter; $this->keyParser = $keyParser; }