You are here

public function PriorityList::clear in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/PriorityList.php \Zend\Stdlib\PriorityList::clear()

Remove all items.

Return value

void

File

vendor/zendframework/zend-stdlib/src/PriorityList.php, line 118

Class

PriorityList

Namespace

Zend\Stdlib

Code

public function clear() {
  $this->items = [];
  $this->serial = 0;
  $this->count = 0;
  $this->sorted = false;
}