You are here

public function CasRedirectData::getParameter in CAS 2.x

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

Returns the redirect parameter specified by $key.

Parameters

string $key: Parameter to select.

Return value

mixed Value of the parameter.

File

src/CasRedirectData.php, line 100

Class

CasRedirectData
Provides tools to build the redirects.

Namespace

Drupal\cas

Code

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