getAttribute('id'); } /** @inheritdoc */ public function getAuthKey() { return $this->getAttribute('auth_key'); } /** @inheritdoc */ public function validateAuthKey($authKey) { return $this->getAttribute('auth_key') == $authKey; } }