src/Introspection/DirectiveType.php
public function resolveLocations(DirectiveInterface $value)
    {
        /** @var DirectiveConfig $directiveConfig */
        $directiveConfig = $value->getConfig();

        $locations = $directiveConfig->getLocations();

        return $locations;
    }
public function resolveLocations(DirectiveInterface $value)
    {
        /** @var DirectiveConfig $directiveConfig */
        $directiveConfig = $value->getConfig();

        $locations = $directiveConfig->getLocations();

        return $locations;
    }
@param DirectiveInterface|Directive $value

@return mixed