public function getItems(array $keys = [])
    {
        $items = [];
        foreach ($keys as $key) {
            $items[] = $this->offsetGet($key);
        }
        if (empty($keys)) {
            $items = $this->items;
        }

        return $items;
    }
public function getItems(array $keys = [])
    {
        $items = [];
        foreach ($keys as $key) {
            $items[] = $this->offsetGet($key);
        }
        if (empty($keys)) {
            $items = $this->items;
        }

        return $items;
    }
public function getItems ( array $ keys = [ ] ) { $ items = [ ] ; foreach ( $ keys as $ key ) { $ items [ ] = $ this -> offsetGet ( $ key ) ; } if ( empty ( $ keys ) ) { $ items = $ this -> items ; } return $ items ; }
Return a list of specific items from the collection for the given keys.

@param array $keys

@return mixed
Return a list of specific items from the collection for the given keys .