You are here

public function PriorityList::get in Zircon Profile 8

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

Get a item.

Parameters

string $name:

Return value

mixed

File

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

Class

PriorityList

Namespace

Zend\Stdlib

Code

public function get($name) {
  if (!isset($this->items[$name])) {
    return;
  }
  return $this->items[$name]['data'];
}