getDir() public static méthode

Returns dirname(value).
public static getDir ( mixed $value ) : mixed
$value mixed
Résultat mixed
Exemple #1
0
 /**
  * Generated from @assert ('/usr/lib/php/Pear.php') === '/usr/lib/php'.
  */
 public function testGetDir()
 {
     $this->assertSame('/usr/lib/php', Inspekt::getDir('/usr/lib/php/Pear.php'));
 }