public function RequestContext::hasParameter

Checks if a parameter value is set for the given parameter.

Parameters

string $name A parameter name:

Return value

Boolean true if the parameter value is set, false otherwise

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/RequestContext.php, line 245

Class

RequestContext
Holds information about the current request.

Namespace

Symfony\Component\Routing

Code

public function hasParameter($name) {
  return array_key_exists($name, $this->parameters);
}