Destiny\Character\InventoryBucket::gItems PHP Method

gItems() protected method

protected gItems ( array $items )
$items array
    protected function gItems(array $items)
    {
        $collection = new InventoryItemCollection();
        foreach ($items as $properties) {
            $item = new InventoryItem($this, $properties);
            $collection->put($item->itemHash, $item);
        }
        return $collection;
    }