protected function ElementTextException::getContext in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Exception/ElementTextException.php \Behat\Mink\Exception\ElementTextException::getContext()
Gets the context rendered for this exception.
Return value
string
Overrides ElementHtmlException::getContext
File
- vendor/
behat/ mink/ src/ Exception/ ElementTextException.php, line 20
Class
- ElementTextException
- Exception thrown when an expectation on the text of an element fails.
Namespace
Behat\Mink\ExceptionCode
protected function getContext() {
return $this->element
->getText();
}