I'm using my own class that implements PHPCR\SessionInterface and acts as a decorator for another sessions. I don't have getTransport() method implemented, because it's not required by that interface.
https://github.com/doctrine/DoctrinePHPCRBundle/blob/master/DoctrinePHPCRBundle.php#L144
There are two possible solutions to solve this issue:
- check whether session is the Jackalope one
- add
getTransport() on PHPCR\SessionInterface (rather not)