public function HTML5::hasErrors in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/src/HTML5.php \Masterminds\HTML5::hasErrors()
Return true it some errors were encountered into parsing phase
Return value
bool
File
- vendor/
masterminds/ html5/ src/ HTML5.php, line 155
Class
- HTML5
- This class offers convenience methods for parsing and serializing HTML5. It is roughly designed to mirror the \DOMDocument class that is provided with most versions of PHP.
Namespace
MastermindsCode
public function hasErrors() {
return count($this->errors) > 0;
}