You are here

public function CasRedirectData::getServiceParameter in CAS 2.x

Same name and namespace in other branches
  1. 8 src/CasRedirectData.php \Drupal\cas\CasRedirectData::getServiceParameter()

Returns the redirect parameter specified by $key.

Parameters

string $key: Parameter to select.

Return value

string Value of the attribute.

File

src/CasRedirectData.php, line 140

Class

CasRedirectData
Provides tools to build the redirects.

Namespace

Drupal\cas

Code

public function getServiceParameter($key) {
  return isset($this->serviceParameters[$key]) ? $this->serviceParameters[$key] : NULL;
}