public function QueryPath::tag in QueryPath 6
Same name and namespace in other branches
- 7.3 QueryPath/QueryPath.php \QueryPath::tag()
- 7.2 QueryPath/QueryPath.php \QueryPath::tag()
File
- QueryPath/
QueryPath.php, line 954
Class
Code
public function tag() {
return $this
->size() > 0 ? $this
->getFirstMatch()->tagName : '';
}