@wpkernel/cli / createPhpCapabilityHelper
Function: createPhpCapabilityHelper()
ts
function createPhpCapabilityHelper(): BuilderHelper;Creates a PHP builder helper for generating capability-related code.
This helper processes the capabilityMap from the IR and generates PHP classes and functions that define and manage WordPress capabilities, ensuring proper access control for REST routes.
Returns
A BuilderHelper instance for generating capability code.
