How add PlayerController class to my custom BlueprintFunctionLibrary class

I have added my custom class to the my project, but I can’t understand how I can use PlayerController feature for my simple function.