public resolveType ( $objectValue, $context, |
||
$objectValue | ||
$context | ||
$info | ||
Результат | callable | null |
public function resolveType($objectValue, $context, ResolveInfo $info)
{
if (isset($this->config['resolveType'])) {
$fn = $this->config['resolveType'];
return $fn($objectValue, $context, $info);
}
return null;
}