Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Labels:None
Description
This issue is created automatically through a Github pull request on behalf of
{username}:
Url: https://github.com/doctrine/phpcr-odm/pull/59
Message:
first of all: sry, i screwed up the commit history here again ![]()
Well this is support for referrers.
This patch provides the new annotation "Referrers".
By default a property of this type stores all referrers (weak and hard) in a collection.
You can specify the option "referenceType" with the values "weak" and "hard" (or null) to only get the one or the other type of referring documents (or both types)
Then there is the option "filterName". It's value is passed to the method "get(Weak)References". Actually the option passed to "get(Weak)References" is called "name" in the spec. I named it "filterName" here as "name" is already assigned.
that pull request was merged.
its nice that this jira creates tickets from pull requests - would be even better if they also close automatically with closing the pull request