Automattic\WooCommerce\Internal\DependencyManagement\ServiceProviders
EnginesServiceProvider::register()
Register the classes.
Method of the class: EnginesServiceProvider{}
No Hooks.
Return
null
. Nothing (null).
Usage
$EnginesServiceProvider = new EnginesServiceProvider(); $EnginesServiceProvider->register();
EnginesServiceProvider::register() EnginesServiceProvider::register code WC 9.3.3
public function register() { $this->share_with_implements_tags( TransientFilesEngine::class )->addArgument( LegacyProxy::class ); $this->share( ReceiptRenderingEngine::class )->addArguments( array( TransientFilesEngine::class, LegacyProxy::class ) ); $this->share_with_implements_tags( ReceiptRenderingRestController::class ); }