set_value($value); } /** * Get the part of the credentials by the key. * * @since 0.8 * @param string $key * @return null|string */ public function get($key) { return isset($this->value[$key]) ? $this->value[$key] : null; } /** * Check if the credentials contains a specific part by the key. * * @since 0.9.1 * @param string $key * @return bool */ public function has($key) { return isset($this->value[$key]); } }