Vendor/phpspreadsheet/phpoffice/phpspreadsheet/src/PhpSpreadsheet/HashTable.php
public function addFromSource(array $pSource = null)
    {
        // Check if an array was passed
        if ($pSource == null) {
            return;
        }

        foreach ($pSource as $item) {
            $this->add($item);
        }
    }
public function addFromSource(array $pSource = null)
    {
        // Check if an array was passed
        if ($pSource == null) {
            return;
        }

        foreach ($pSource as $item) {
            $this->add($item);
        }
    }
Add HashTable items from source.

@param IComparable[] $pSource Source array to create HashTable from

@throws Exception