src/Fs.php
public static function dir(string $path): fs\entity\DirEntity
    {
        return (new fs\entity\DirEntity($path))->normalize();
    }
public static function dir(string $path): fs\entity\DirEntity
    {
        return (new fs\entity\DirEntity($path))->normalize();
    }
public static function dir ( string $ path ) : fs \ entity \ DirEntity { return ( new fs \ entity \ DirEntity ( $ path ) ) -> normalize ( ) ; }
Convenience method to get a directory instance with a normalized path

@param string $path
@return \sndsgd\fs\entity\DirEntity
Convenience method to get a directory instance with a normalized path