Skip to content

Commit 4418ff7

Browse files
committed
Merge pull request #28 from dantleech/qomf_shortcut
Qomf shortcut
2 parents d686eb0 + a34967d commit 4418ff7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/PHPCR/Util/QOM/QueryBuilder.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,14 @@ public function getQOMFactory()
122122
return $this->qomFactory;
123123
}
124124

125+
/**
126+
* Shortcut for getQOMFactory()
127+
*/
128+
public function qomf()
129+
{
130+
return $this->getQOMFactory();
131+
}
132+
125133
/**
126134
* sets the position of the first result to retrieve (the "offset").
127135
*

0 commit comments

Comments
 (0)