adjust to interface change
Merge pull request #97 from phpcr/fix-factory-interface

adjust to interface change