src/Component/Json.php
/**
     * Merges a countable in data with another countable data.
     *
     * @param mixed $value It will be treated as an array, and must not be a resource.
     * @param int $options Currently, no options are available.
     * @param ?string|int $index
     * @return self
     */
Merges a countable in data with another countable data.
@param mixed $value It will be treated as an array, and must not be a resource.
@param int $options Currently, no options are available.
@param ?string|int $index
@return self
Merges a countable in data with another countable data . @param mixed $value It will be treated as an array and must not be a resource . @param int $options Currently no options are available . @param ?string|int $index @return self
public function mergeRecursivelyWith($value, int $options = 0, $index = null): self
    {
        $this->do(function (array &$array) use ($value) {
            $value = (array)($this->decodeJsonIfNeeded($value));
            $array = array_merge_recursive($array, $value);
        }, $index, true);
        return $this;
    }
public function mergeRecursivelyWith ( $ value , int $ options = 0 , $ index = null ) : self { $ this -> do ( function ( array & $ array ) use ( $ value ) { $ value = ( array ) ( $ this -> decodeJsonIfNeeded ( $ value ) ) ; $ array = array_merge_recursive ( $ array , $ value ) ; } , $ index , true ) ; return $ this ; }
Merges a countable in data with another countable data.
Merges a countable in data with another countable data .