Symfony\Component\HttpFoundation\ParameterBag::has
Returns true if the parameter is defined.
Signature
public function has(string
$key )
Parameters
$key
— string- The key
Returns
- Boolean
- true if the parameter exists, false otherwise