public function unsetItems($keys = null)
    {
        if (is_null($keys)) {
            $this->_items = [];
        } elseif (is_scalar($keys)) {
            unset($this->_items[$keys]);
        } else {
            foreach ($keys as $k) {
                unset($this->_items[$k]);
            }
        }
    }
public function unsetItems($keys = null)
    {
        if (is_null($keys)) {
            $this->_items = [];
        } elseif (is_scalar($keys)) {
            unset($this->_items[$keys]);
        } else {
            foreach ($keys as $k) {
                unset($this->_items[$k]);
            }
        }
    }
public function unsetItems ( $ keys = null ) { if ( is_null ( $ keys ) ) { $ this -> _items = [ ] ; } elseif ( is_scalar ( $ keys ) ) { unset ( $ this -> _items [ $ keys ] ) ; } else { foreach ( $ keys as $ k ) { unset ( $ this -> _items [ $ k ] ) ; } } }
Unset specified items.
@param mixed $keys specification
@return array list of items
Unset specified items .