You are here

public function DocumentElement::getContent 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::getContent()

Returns document content.

Return value

string

File

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

Class

DocumentElement
Document element.

Namespace

Behat\Mink\Element

Code

public function getContent() {
  return trim($this
    ->getDriver()
    ->getContent());
}