-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapter for plain phpcr #243
base: master
Are you sure you want to change the base?
Conversation
|
Thanks for contributing, @patrick-tassa! Please could you add some tests for this? If it helps, you could take a look at some of the existing Doctrine tests (e.g. |
@@ -0,0 +1,67 @@ | |||
<?php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file is missing the .php
extension
use Doctrine\ODM\PHPCR\Query\Query; | ||
|
||
/** | ||
* Pagerfanta adapter for Doctrine Plain PHPCR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think the Doctrine PHPCR ODM has a concept named Doctrine Plain PHPCR
*/ | ||
public function getSlice($offset, $length) | ||
{ | ||
return $this->queryBuilder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the query builder must be cloned before altering it.
No description provided.