Skip to content

Shutdown uses getTransport() that is Jackalope\Session specific #247

@pamil

Description

@pamil

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions