How to inject \Sabre\Dav\Server to application?

How to inject the class to here https://docs.nextcloud.com/server/latest/developer_manual/app/events.html#listener-callbacks
I need to get file node props and backend for properties I see only there

Hey,

did you find a solution?

Unfortunately. Seems like you can’t get file properties outside of webdav server