public function mergeEnvironments(array $lines, string $file): array
    {
        if ($this->files->exists($file)) {
            $lines = \array_replace_recursive($lines, $this->files->getRequire($file));
        }

        return $lines;
    }
public function mergeEnvironments(array $lines, string $file): array
    {
        if ($this->files->exists($file)) {
            $lines = \array_replace_recursive($lines, $this->files->getRequire($file));
        }

        return $lines;
    }
public function mergeEnvironments ( array $ lines , string $ file ) : array { if ( $ this -> files -> exists ( $ file ) ) { $ lines = \ array_replace_recursive ( $ lines , $ this -> files -> getRequire ( $ file ) ) ; } return $ lines ; }
Merge the items in the given file into the items.

@param  array  $lines
@param  string  $file

@return array
Merge the items in the given file into the items .