for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Digia\GraphQL\Schema\Resolver;
class AbstractResolver implements ResolverInterface
{
/**
* @inheritdoc
*/
public function getResolveMethod(string $fieldName): ?callable
$resolveMethod = 'resolve' . \ucfirst($fieldName);
if (\method_exists($this, $resolveMethod)) {
return [$this, $resolveMethod];
return array($this, $resolveMethod)
array<integer,Digia\Grap...bstractResolver|string>
null|callable
}
return null;