You are here

public function ElementInterface::getSession in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/behat/mink/src/Element/ElementInterface.php \Behat\Mink\Element\ElementInterface::getSession()

Returns element's session.

Return value

Session

Deprecated

Accessing the session from the element is deprecated as of 1.6 and will be impossible in 2.0.

1 method overrides ElementInterface::getSession()
Element::getSession in vendor/behat/mink/src/Element/Element.php
Returns element session.

File

vendor/behat/mink/src/Element/ElementInterface.php, line 36

Class

ElementInterface
Element interface.

Namespace

Behat\Mink\Element

Code

public function getSession();