‪TYPO3CMS  ‪main
TYPO3\CMS\Extbase\Persistence\QueryInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Extbase\Persistence\QueryInterface:
TYPO3\CMS\Extbase\Persistence\Generic\Query TYPO3\CMS\Extbase\Persistence\Generic\Query

Public Member Functions

TYPO3 CMS Extbase Persistence Generic Qom SourceInterface getSource ()
 
TYPO3 CMS Extbase Persistence QueryResultInterface object[] execute ($returnRawQueryResult=false)
 
TYPO3 CMS Extbase Persistence QueryInterface setOrderings (array $orderings)
 
TYPO3 CMS Extbase Persistence QueryInterface setLimit ($limit)
 
TYPO3 CMS Extbase Persistence QueryInterface setOffset ($offset)
 
TYPO3 CMS Extbase Persistence QueryInterface matching ($constraint)
 
 logicalAnd (ConstraintInterface ... $constraints)
 
 logicalOr (ConstraintInterface ... $constraints)
 
TYPO3 CMS Extbase Persistence Generic Qom NotInterface logicalNot (ConstraintInterface $constraint)
 
TYPO3 CMS Extbase Persistence Generic Qom ComparisonInterface equals ($propertyName, $operand, $caseSensitive=true)
 
ComparisonInterface like ($propertyName, $operand)
 
ComparisonInterface contains ($propertyName, $operand)
 
ComparisonInterface in ($propertyName, $operand)
 
ComparisonInterface lessThan ($propertyName, $operand)
 
ComparisonInterface lessThanOrEqual ($propertyName, $operand)
 
ComparisonInterface greaterThan ($propertyName, $operand)
 
ComparisonInterface greaterThanOrEqual ($propertyName, $operand)
 
 setType (string $type)
 
string getType ()
 
 setQuerySettings (QuerySettingsInterface $querySettings)
 
QuerySettingsInterface getQuerySettings ()
 
int count ()
 
array< string, string > getOrderings ()
 
int getLimit ()
 
int getOffset ()
 
ConstraintInterface null getConstraint ()
 
 setSource (SourceInterface $source)
 
TYPO3 CMS Extbase Persistence Generic Qom Statement getStatement ()
 

Public Attributes

const OPERATOR_EQUAL_TO = 1
 
const OPERATOR_EQUAL_TO_NULL = 101
 
const OPERATOR_NOT_EQUAL_TO = 2
 
const OPERATOR_NOT_EQUAL_TO_NULL = 202
 
const OPERATOR_LESS_THAN = 3
 
const OPERATOR_LESS_THAN_OR_EQUAL_TO = 4
 
const OPERATOR_GREATER_THAN = 5
 
const OPERATOR_GREATER_THAN_OR_EQUAL_TO = 6
 
const OPERATOR_LIKE = 7
 
const OPERATOR_CONTAINS = 8
 
const OPERATOR_IN = 9
 
const OPERATOR_IS_NULL = 10
 
const OPERATOR_IS_EMPTY = 11
 
const ORDER_ASCENDING = 'ASC'
 
const ORDER_DESCENDING = 'DESC'
 

Detailed Description

A persistence query interface @template T of object

Definition at line 29 of file QueryInterface.php.

Member Function Documentation

◆ contains()

ComparisonInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::contains (   $propertyName,
  $operand 
)

Returns a "contains" criterion used for matching objects against a query. It matches if the multivalued property contains the given operand.

If NULL is given as $operand, there will never be a match!

Parameters
string$propertyName‪The name of the multivalued property to compare against
mixed$operand‪The value to compare with
Returns
‪ComparisonInterface
Exceptions

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

◆ count()

int TYPO3\CMS\Extbase\Persistence\QueryInterface::count ( )

Returns the query result count.

Returns
‪int The query result count

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

◆ equals()

TYPO3 CMS Extbase Persistence Generic Qom ComparisonInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::equals (   $propertyName,
  $operand,
  $caseSensitive = true 
)

Returns an equals criterion used for matching objects against a query.

It matches if the $operand equals the value of the property named $propertyName. If $operand is NULL a strict check for NULL is done. For strings the comparison can be done with or without case-sensitivity.

Parameters
string$propertyName‪The name of the property to compare against
mixed$operand‪The value to compare with
bool$caseSensitive‪Whether the equality test should be done case-sensitive for strings
Returns
‪\TYPO3\CMS\Extbase\Persistence\Generic\Qom\ComparisonInterface

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

Referenced by TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository\addDefaultConstraints(), and TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper\getConstraint().

◆ execute()

TYPO3 CMS Extbase Persistence QueryResultInterface object [] TYPO3\CMS\Extbase\Persistence\QueryInterface::execute (   $returnRawQueryResult = false)

Executes the query and returns the result.

Parameters
bool$returnRawQueryResult‪avoids the object mapping by the persistence
Returns
‪\TYPO3\CMS\Extbase\Persistence\QueryResultInterface|object[] The query result object or an array if $returnRawQueryResult is TRUE @phpstan-return ($returnRawQueryResult is true ? list<T> : QueryResultInterface<int,T>)

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

Referenced by TYPO3\CMS\Extbase\Persistence\Repository\countAll(), TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper\countRelated(), TYPO3\CMS\Extbase\Persistence\Repository\findAll(), and TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper\getNonEmptyRelationValue().

◆ getConstraint()

◆ getLimit()

int TYPO3\CMS\Extbase\Persistence\QueryInterface::getLimit ( )

◆ getOffset()

int TYPO3\CMS\Extbase\Persistence\QueryInterface::getOffset ( )

◆ getOrderings()

array<string,string> TYPO3\CMS\Extbase\Persistence\QueryInterface::getOrderings ( )

Gets the property names to order the result by, like this: array( 'foo' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING, 'bar' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_DESCENDING )

Returns
‪array<string,string>

Referenced by TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbQueryParser\convertQueryToDoctrineQueryBuilder().

◆ getQuerySettings()

◆ getSource()

TYPO3 CMS Extbase Persistence Generic Qom SourceInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::getSource ( )

◆ getStatement()

TYPO3 CMS Extbase Persistence Generic Qom Statement TYPO3\CMS\Extbase\Persistence\QueryInterface::getStatement ( )

◆ getType()

string TYPO3\CMS\Extbase\Persistence\QueryInterface::getType ( )

Returns the type this query cares for.

Returns
‪string @phpstan-return class-string<T>

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

Referenced by TYPO3\CMS\Extbase\Persistence\Generic\QueryResult\getFirst().

◆ greaterThan()

ComparisonInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::greaterThan (   $propertyName,
  $operand 
)

Returns a greater than criterion used for matching objects against a query

Parameters
string$propertyName‪The name of the property to compare against
mixed$operand‪The value to compare with
Returns
‪ComparisonInterface
Exceptions

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

◆ greaterThanOrEqual()

ComparisonInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::greaterThanOrEqual (   $propertyName,
  $operand 
)

Returns a greater than or equal criterion used for matching objects against a query

Parameters
string$propertyName‪The name of the property to compare against
mixed$operand‪The value to compare with
Returns
‪ComparisonInterface
Exceptions

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

Referenced by TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository\addDefaultConstraints().

◆ in()

ComparisonInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::in (   $propertyName,
  $operand 
)

Returns an "in" criterion used for matching objects against a query. It matches if the property's value is contained in the multivalued operand.

Parameters
string$propertyName‪The name of the property to compare against
mixed$operand‪The value to compare with, multivalued
Returns
‪ComparisonInterface
Exceptions

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

Referenced by TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper\getConstraint().

◆ lessThan()

ComparisonInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::lessThan (   $propertyName,
  $operand 
)

Returns a less than criterion used for matching objects against a query

Parameters
string$propertyName‪The name of the property to compare against
mixed$operand‪The value to compare with
Returns
‪ComparisonInterface
Exceptions

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

◆ lessThanOrEqual()

ComparisonInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::lessThanOrEqual (   $propertyName,
  $operand 
)

Returns a less or equal than criterion used for matching objects against a query

Parameters
string$propertyName‪The name of the property to compare against
mixed$operand‪The value to compare with
Returns
‪ComparisonInterface
Exceptions

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

◆ like()

ComparisonInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::like (   $propertyName,
  $operand 
)

Returns a like criterion used for matching objects against a query. Matches if the property named $propertyName is like the $operand, using standard SQL wildcards.

Parameters
string$propertyName‪The name of the property to compare against
string$operand‪The value to compare with
Returns
‪ComparisonInterface
Exceptions

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

◆ logicalAnd()

TYPO3\CMS\Extbase\Persistence\QueryInterface::logicalAnd ( ConstraintInterface ...  $constraints)

Performs a logical conjunction of multiple given constraints. The method takes an arbitrary number of constraints and concatenates them with a boolean AND.

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

Referenced by TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository\addDefaultConstraints(), and TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper\getConstraint().

◆ logicalNot()

TYPO3 CMS Extbase Persistence Generic Qom NotInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::logicalNot ( ConstraintInterface  $constraint)

Performs a logical negation of the given constraint

Parameters
ConstraintInterface$constraint‪Constraint to negate
Returns
‪\TYPO3\CMS\Extbase\Persistence\Generic\Qom\NotInterface

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

◆ logicalOr()

TYPO3\CMS\Extbase\Persistence\QueryInterface::logicalOr ( ConstraintInterface ...  $constraints)

Performs a logical disjunction of multiple given constraints. The method takes an arbitrary number of constraints and concatenates them with a boolean OR.

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

◆ matching()

TYPO3 CMS Extbase Persistence QueryInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::matching (   $constraint)

◆ setLimit()

TYPO3 CMS Extbase Persistence QueryInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::setLimit (   $limit)

Sets the maximum size of the result set to limit. Returns $this to allow for chaining (fluid interface).

Parameters
int$limit
Returns
‪\TYPO3\CMS\Extbase\Persistence\QueryInterface @phpstan-return QueryInterface<T>

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

Referenced by TYPO3\CMS\Extbase\Tests\Functional\Persistence\RelationTest\applyQueryRequest(), and TYPO3\CMS\Extbase\Persistence\Generic\QueryResult\getFirst().

◆ setOffset()

TYPO3 CMS Extbase Persistence QueryInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::setOffset (   $offset)

Sets the start offset of the result set to offset. Returns $this to allow for chaining (fluid interface).

Parameters
int$offset
Returns
‪\TYPO3\CMS\Extbase\Persistence\QueryInterface @phpstan-return QueryInterface<T>

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

Referenced by TYPO3\CMS\Extbase\Tests\Functional\Persistence\RelationTest\applyQueryRequest().

◆ setOrderings()

TYPO3 CMS Extbase Persistence QueryInterface TYPO3\CMS\Extbase\Persistence\QueryInterface::setOrderings ( array  $orderings)

Sets the property names to order the result by. Expected like this: array( 'foo' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING, 'bar' => \TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_DESCENDING )

Parameters
array<string,string>‪$orderings The property names to order by
Returns
‪\TYPO3\CMS\Extbase\Persistence\QueryInterface @phpstan-return QueryInterface<T>

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

Referenced by TYPO3\CMS\Extbase\Tests\Functional\Persistence\RelationTest\applyQueryRequest(), and TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper\getPreparedQuery().

◆ setQuerySettings()

TYPO3\CMS\Extbase\Persistence\QueryInterface::setQuerySettings ( QuerySettingsInterface  $querySettings)

Sets the Query Settings. These Query settings must match the settings expected by the specific Storage Backend.

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

◆ setSource()

TYPO3\CMS\Extbase\Persistence\QueryInterface::setSource ( SourceInterface  $source)

◆ setType()

TYPO3\CMS\Extbase\Persistence\QueryInterface::setType ( string  $type)

Set the type this query cares for. @phpstan-param class-string<T> $type

Implemented in TYPO3\CMS\Extbase\Persistence\Generic\Query.

Referenced by TYPO3\CMS\Extbase\Persistence\Generic\QueryFactory\create().

Member Data Documentation

◆ OPERATOR_CONTAINS

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_CONTAINS = 8

The 'contains' comparison operator for collections.

Definition at line 79 of file QueryInterface.php.

Referenced by TYPO3\CMS\Extbase\Persistence\Generic\Query\contains(), and TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbQueryParser\parseComparison().

◆ OPERATOR_EQUAL_TO

◆ OPERATOR_EQUAL_TO_NULL

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_EQUAL_TO_NULL = 101

◆ OPERATOR_GREATER_THAN

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_GREATER_THAN = 5

◆ OPERATOR_GREATER_THAN_OR_EQUAL_TO

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_GREATER_THAN_OR_EQUAL_TO = 6

◆ OPERATOR_IN

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_IN = 9

◆ OPERATOR_IS_EMPTY

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_IS_EMPTY = 11

The 'is empty' comparison operator for collections.

Definition at line 94 of file QueryInterface.php.

◆ OPERATOR_IS_NULL

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_IS_NULL = 10

The 'is NULL' comparison operator.

Definition at line 89 of file QueryInterface.php.

◆ OPERATOR_LESS_THAN

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_LESS_THAN = 3

◆ OPERATOR_LESS_THAN_OR_EQUAL_TO

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_LESS_THAN_OR_EQUAL_TO = 4

◆ OPERATOR_LIKE

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_LIKE = 7

◆ OPERATOR_NOT_EQUAL_TO

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_NOT_EQUAL_TO = 2

◆ OPERATOR_NOT_EQUAL_TO_NULL

const TYPO3\CMS\Extbase\Persistence\QueryInterface::OPERATOR_NOT_EQUAL_TO_NULL = 202

◆ ORDER_ASCENDING

const TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_ASCENDING = 'ASC'

Constants representing the direction when ordering result sets.

Definition at line 99 of file QueryInterface.php.

Referenced by TYPO3\CMS\Extbase\Persistence\Generic\Qom\QueryObjectModelFactory\ascending(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\OperatorTest\betweenSetsBoundariesCorrectly(), TYPO3\CMS\Extbase\Tests\Unit\Persistence\RepositoryTest\createQuerySetsDefaultOrderingIfDefined(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\RelationTest\distinctDataProvider(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\WorkspaceTest\fetchingAllBlogsReturnsCorrectNumberOfBlogs(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\WorkspaceTest\fetchingHiddenBlogInWorkspace(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\fetchingHiddenPostsReturnsHiddenOverlay(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\fetchingHiddenPostsReturnsHiddenOverlayOverlayEnabled(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\fetchingHiddenPostsWithIgnoreEnableField(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\fetchingPostByTagName(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\fetchingPostsReturnsEnglishPostsWithFallback(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\fetchingPostsReturnsGreekPostsWithFallback(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\fetchingPostsReturnsGreekPostsWithHideNonTranslated(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\fetchingTranslatedPostByBlogTitle(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\fetchingTranslatedPostByTagName(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\fetchingTranslatedPostByTitle(), TYPO3Tests\BlogExample\Domain\Repository\PostRepository\findAllSortedByCategory(), TYPO3\CMS\Beuser\Domain\Repository\BackendUserGroupRepository\findByFilter(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\RepositoryTest\findByRespectsMultipleOrderBy(), TYPO3\CMS\Beuser\Domain\Repository\BackendUserRepository\findDemanded(), TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\Mapper\DataMapperTest\getOrderingsForColumnMapFallBackToAscendingOrdering(), TYPO3\CMS\Extbase\Persistence\Generic\Mapper\DataMapper\getPreparedQuery(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\orderingByBlogTitle(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\TranslationTest\orderingByTitleRespectsEnglishTitles(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest\orderStatementGenerationWorksWithMultipleOrderings(), TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbQueryParser\parseOrderings(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\QueryLocalizedDataTest\postsWithoutRespectingSysLanguage(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\QueryLocalizedDataTest\queryFirst5Posts(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\QueryLocalizedDataTest\queryPostsByProperty(), TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\Mapper\DataMapperTest\setOneToManyRelationDetectsForeignDefaultSortByWithoutDirection(), TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\Mapper\DataMapperTest\setOneToManyRelationDetectsForeignSortBy(), TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\Mapper\DataMapperTest\setOneToManyRelationDetectsForeignSortByWithForeignDefaultSortBy(), and TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\Mapper\DataMapperTest\setOneToManyRelationDetectsMultipleForeignDefaultSortByWithAndWithoutDirection().

◆ ORDER_DESCENDING

const TYPO3\CMS\Extbase\Persistence\QueryInterface::ORDER_DESCENDING = 'DESC'

Definition at line 100 of file QueryInterface.php.

Referenced by TYPO3\CMS\Extbase\Persistence\Generic\Qom\QueryObjectModelFactory\descending(), TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository\findAll(), TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository\findAllCommunityDistributions(), TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository\findAllOfficialDistributions(), TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository\findByExtensionKeyOrderedByVersion(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\RepositoryTest\findByRespectsLimit(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\RepositoryTest\findByRespectsMultipleOrderBy(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\RepositoryTest\findByRespectsOffset(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\RepositoryTest\findByRespectsSingleOrderBy(), TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository\findByVersionRangeAndExtensionKeyOrderedByVersion(), TYPO3\CMS\Extensionmanager\Domain\Repository\ExtensionRepository\findHighestAvailableVersion(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\RepositoryTest\findOneByRespectsOrderBy(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest\orderStatementGenerationWorks(), TYPO3\CMS\Extbase\Tests\Functional\Persistence\Generic\Storage\Typo3DbQueryParserTest\orderStatementGenerationWorksWithMultipleOrderings(), TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbQueryParser\parseOrderings(), TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\Mapper\DataMapperTest\setOneToManyRelationDetectsForeignDefaultSortByWithDirection(), and TYPO3\CMS\Extbase\Tests\Unit\Persistence\Generic\Mapper\DataMapperTest\setOneToManyRelationDetectsMultipleForeignDefaultSortByWithAndWithoutDirection().