code: public function addFromSource(array $pSource = null)
      {
          // Check if an array was passed
          if ($pSource == null) {
              return;
          }
  
          foreach ($pSource as $item) {
              $this->add($item);
          }
      }
docs: Add HashTable items from source.
  
  @param IComparable[] $pSource Source array to create HashTable from
  
  @throws Exception