You are here

public function DocumentElement::hasContent in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/behat/mink/src/Element/DocumentElement.php \Behat\Mink\Element\DocumentElement::hasContent()

Check whether document has specified content.

Parameters

string $content:

Return value

Boolean

File

vendor/behat/mink/src/Element/DocumentElement.php, line 47

Class

DocumentElement
Document element.

Namespace

Behat\Mink\Element

Code

public function hasContent($content) {
  return $this
    ->has('named', array(
    'content',
    $content,
  ));
}