src/Schema/Directives/BaseDirective.php
public function getResolverFromArgument(string $argumentName): Closure
    {
        [$className, $methodName] = $this->getMethodArgumentParts($argumentName);

        $namespacedClassName = $this->namespaceClassName($className);

        return Utils::constructResolver($namespacedClassName, $methodName);
    }
public function getResolverFromArgument(string $argumentName): Closure
    {
        [$className, $methodName] = $this->getMethodArgumentParts($argumentName);

        $namespacedClassName = $this->namespaceClassName($className);

        return Utils::constructResolver($namespacedClassName, $methodName);
    }
public function getResolverFromArgument ( string $ argumentName ) : Closure { [ $ className , $ methodName ] = $ this -> getMethodArgumentParts ( $ argumentName ) ; $ namespacedClassName = $ this -> namespaceClassName ( $ className ) ; return Utils :: constructResolver ( $ namespacedClassName , $ methodName ) ; }
Get a Closure that is defined through an argument on the directive.

@param  string  $argumentName
@return \Closure
Get a Closure that is defined through an argument on the directive .