FileSystem::dirname
public function FileSystem::dirname
public FileSystem::dirname($uri)
Gets the name of the directory from a given path.
PHP's dirname() does not properly pass streams, so this function fills that gap. It is backwards compatible with normal paths and will use PHP's dirname() as a fallba