src/storage/ItemAbstract.php
public function getKey($key, $exception = true)
    {
        if (!array_key_exists($key, $this->_itemArray)) {
            if ($exception) {
                throw new Exception("Unable to find the requested item key '$key' in item " . var_export($this->_itemArray, true));
            } else {
                return false;
            }
        }
        
        return $this->_itemArray[$key];
    }
public function getKey($key, $exception = true)
    {
        if (!array_key_exists($key, $this->_itemArray)) {
            if ($exception) {
                throw new Exception("Unable to find the requested item key '$key' in item " . var_export($this->_itemArray, true));
            } else {
                return false;
            }
        }
        
        return $this->_itemArray[$key];
    }
public function getKey ( $ key , $ exception = true ) { if ( ! array_key_exists ( $ key , $ this -> _itemArray ) ) { if ( $ exception ) { throw new Exception ( "Unable to find the requested item key '$key' in item " . var_export ( $ this -> _itemArray , true ) ) ; } else { return false ; } } return $ this -> _itemArray [ $ key ] ; }
Returns a value for a given key inside the itemArray.

@param string $key The requested key.
@param boolean $exception Whether getKey should throw an exception if the key is not found or just return false instead.
@throws Exception If the key is not found inside the array an exception is thrown. If $exception is disabled false is returned instead.
Returns a value for a given key inside the itemArray .