src/Utils/Filesystem.php
public function combine($path1, $path2, $div = '/')
    {
        $path1 .= (($path1[strlen($path1) - 1] != $div) ? $div : '');
        return $path1 . $path2;
    }
public function combine($path1, $path2, $div = '/')
    {
        $path1 .= (($path1[strlen($path1) - 1] != $div) ? $div : '');
        return $path1 . $path2;
    }
public function combine ( $ path1 , $ path2 , $ div = '/' ) { $ path1 .= ( ( $ path1 [ strlen ( $ path1 ) - 1 ] != $ div ) ? $ div : '' ) ; return $ path1 . $ path2 ; }
Combine two paths
@return string
Combine two paths