join() public static method

Joins paths together
public static join ( string $path1, string $path2 ) : string
$path1 string
$path2 string
return string
Esempio n. 1
0
 public function testJoin()
 {
     $path = "foo" . DIRECTORY_SEPARATOR . "bar";
     $this->assertEquals($path, Utils::join('foo', 'bar'));
 }