public function iSetTheFilterPropertyOfTheQuery($field) { // @todo this could be improved if setFieldToValue used PropertyAccessor. $this->requestObject->contentQuery->{$field} = new Criterion\ContentTypeIdentifier('folder'); }