f::dirname PHP Method

dirname() static public method

Just an alternative for dirname() to stay consistent
static public dirname ( string $file = __FILE__ ) : string
$file string The path
return string
    static function dirname($file = __FILE__)
    {
        return dirname($file);
    }

Usage Example

Example #1
0
 public function testDirname()
 {
     $this->assertEquals(dirname($this->contentFile), f::dirname($this->contentFile));
 }
All Usage Examples Of f::dirname