add more phpdoc to QueryFactory