Reference
C
Class

ApiPlatform\Doctrine\Orm\Util\QueryNameGenerator

Utility functions for working with Doctrine ORM query.

class ApiPlatform\Doctrine\Orm\Util\QueryNameGenerator implements `<a href="/docs/reference/Doctrine/Orm/Util/QueryNameGeneratorInterface">ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface</a>`
{
    public generateJoinAlias(string $association): string
    public generateParameterName(string $name): string
}
class ApiPlatform\Doctrine\Orm\Util\QueryNameGenerator implements `<a href="/docs/reference/Doctrine/Orm/Util/QueryNameGeneratorInterface">ApiPlatform\Doctrine\Orm\Util\QueryNameGeneratorInterface</a>`
{
    public generateJoinAlias(string $association): string
    public generateParameterName(string $name): string
}

Methods

generateJoinAlias

Generates a cacheable alias for DQL join.

public generateJoinAlias(string $association): string
public generateJoinAlias(string $association): string

Parameters

associationstring

Returns

string

generateParameterName

Generates a cacheable parameter name for DQL query.

public generateParameterName(string $name): string
public generateParameterName(string $name): string

Parameters

namestring

Returns

string

Copyright © 2023 Kévin Dunglas

Sponsored by Les-Tilleuls.coop