You are here

public function PriorityList::remove in Zircon Profile 8

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

Remove a item.

Parameters

string $name:

Return value

void

File

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

Class

PriorityList

Namespace

Zend\Stdlib

Code

public function remove($name) {
  if (isset($this->items[$name])) {
    $this->count--;
  }
  unset($this->items[$name]);
}