GLOBAL_INITIATORS
GLOBAL_INITIATORS ='real_product_manager_wp_client_initiators'
The initiators need to be declared globally, due to the fact the class instance itself is scoped and can exist more than once.
Core for real-product-manager-wp-client. It is only initialized once and holds all available initiators.
$assets :\DevOwl\RealProductManagerWpClient\Assets
Assets handler.
addInitiator(\DevOwl\RealProductManagerWpClient\AbstractInitiator $initiator)
Add an initiator.
\DevOwl\RealProductManagerWpClient\AbstractInitiator | $initiator |
getInitiators(): array<mixed,\DevOwl\RealProductManagerWpClient\AbstractInitiator>
Get all initiators.
getInstance(): \DevOwl\RealProductManagerWpClient\Core
Get singleton core class.