public static function newFile(string $name, int $permissions = null): vfsStreamFile
    {
        return new vfsStreamFile($name, $permissions);
    }
public static function newFile(string $name, int $permissions = null): vfsStreamFile
    {
        return new vfsStreamFile($name, $permissions);
    }
public static function newFile ( string $ name , int $ permissions = null ) : vfsStreamFile { return new vfsStreamFile ( $ name , $ permissions ) ; }
returns a new file with given name

@param   string    $name         name of file to create
@param   int|null  $permissions  permissions of file to create
@return  vfsStreamFile
returns a new file with given name