Automattic\WooCommerce\Internal\ReceiptRendering
ReceiptRenderingEngine::init
Initializes the class.
Method of the class: ReceiptRenderingEngine{}
No Hooks.
Returns
null
. Nothing (null).
Usage
$ReceiptRenderingEngine = new ReceiptRenderingEngine(); $ReceiptRenderingEngine->init( $transient_files_engine, $legacy_proxy );
- $transient_files_engine(TransientFilesEngine) (required)
- The instance of TransientFilesEngine to use.
- $legacy_proxy(LegacyProxy) (required)
- The instance of LegacyProxy to use.
ReceiptRenderingEngine::init() ReceiptRenderingEngine::init code WC 9.9.3
final public function init( TransientFilesEngine $transient_files_engine, LegacyProxy $legacy_proxy ) { $this->transient_files_engine = $transient_files_engine; $this->legacy_proxy = $legacy_proxy; }