You are here

public function History::isEmpty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/browser-kit/History.php \Symfony\Component\BrowserKit\History::isEmpty()

Returns true if the history is empty.

Return value

bool true if the history is empty, false otherwise

File

vendor/symfony/browser-kit/History.php, line 50

Class

History
History.

Namespace

Symfony\Component\BrowserKit

Code

public function isEmpty() {
  return count($this->stack) == 0;
}