Stock/Cache/StockUnitCache.php
private function push(array &$list, $oid, StockUnitInterface $unit)
    {
        if (!$this->has($list, $oid, $unit)) {
            $list[$oid][] = $unit;
        }
    }
private function push(array &$list, $oid, StockUnitInterface $unit)
    {
        if (!$this->has($list, $oid, $unit)) {
            $list[$oid][] = $unit;
        }
    }
Pushes the unit to the given list for the given object identifier.

@param array              $list
@param string             $oid
@param StockUnitInterface $unit