Automattic\WooCommerce\Api\Infrastructure
GraphQLControllerBase::get_principal_resolver_fqcn
FQCN of the user-provided PrincipalResolver, or null when none was detected.
The autogenerated subclass overrides this to return its plugin's <api_namespace>\Infrastructure\PrincipalResolver when ApiBuilder detected one. When null, the controller falls back to \wp_get_current_user() (anonymous → null) to populate the request principal.
Method of the class: GraphQLControllerBase{}
No Hooks.
Returns
null. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->get_principal_resolver_fqcn(): ?string;
GraphQLControllerBase::get_principal_resolver_fqcn() GraphQLControllerBase::get principal resolver fqcn code WC 10.9.1
protected function get_principal_resolver_fqcn(): ?string {
return null;
}