private getAlias ( Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface $ast ) | ||
$ast | Youshido\GraphQL\Parser\Ast\Interfaces\FieldInterface |
private function getAlias(AstFieldInterface $ast)
{
return $ast->getAlias() ?: $ast->getName();
}