library/QATools/QATools/PageObject/PageFactory.php
private function _setSession(Session $session)
	{
		$selectors_handler = $session->getSelectorsHandler();

		if ( !$selectors_handler->isSelectorRegistered('se') ) {
			$selectors_handler->registerSelector('se', new SeleniumSelector());
		}

		$this->_session = $session;

		return $this;
	}
private function _setSession(Session $session)
	{
		$selectors_handler = $session->getSelectorsHandler();

		if ( !$selectors_handler->isSelectorRegistered('se') ) {
			$selectors_handler->registerSelector('se', new SeleniumSelector());
		}

		$this->_session = $session;

		return $this;
	}
private function _setSession ( Session $ session ) { $ selectors_handler = $ session -> getSelectorsHandler ( ) ; if ( ! $ selectors_handler -> isSelectorRegistered ( 'se' ) ) { $ selectors_handler -> registerSelector ( 'se' , new SeleniumSelector ( ) ) ; } $ this -> _session = $ session ; return $ this ; }
Sets session.

@param Session $session Session.

@return self
Sets session .