f::dirname($file)

Just an alternative for dirname() to stay consistent

  • $file (string)
    The path
  • return (string)