src/Collection/DotNotationCollection.php
public function add(string $path, array $values): void
    {
        $get = (array)$this->get($path);
        $this->set($path, $this->arrayMergeRecursiveDistinct($get, $values));
    }
public function add(string $path, array $values): void
    {
        $get = (array)$this->get($path);
        $this->set($path, $this->arrayMergeRecursiveDistinct($get, $values));
    }
public function add ( string $ path , array $ values ) : void { $ get = ( array ) $ this -> get ( $ path ) ; $ this -> set ( $ path , $ this -> arrayMergeRecursiveDistinct ( $ get , $ values ) ) ; }
Merge a path with an array
@param string $path
@param array $values
Merge a path with an array