public function RequestMatcher::matchAttribute in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/RequestMatcher.php \Symfony\Component\HttpFoundation\RequestMatcher::matchAttribute()
Adds a check for request attribute.
Parameters
string $key The request attribute name:
string $regexp A Regexp:
1 call to RequestMatcher::matchAttribute()
- RequestMatcher::__construct in vendor/symfony/ http-foundation/ RequestMatcher.php 
File
- vendor/symfony/ http-foundation/ RequestMatcher.php, line 138 
Class
- RequestMatcher
- RequestMatcher compares a pre-defined set of checks against a Request instance.
Namespace
Symfony\Component\HttpFoundationCode
public function matchAttribute($key, $regexp) {
  $this->attributes[$key] = $regexp;
}