Automattic\WooCommerce\Internal\OrderWithdrawal
OrderWithdrawalFeatureHighlightNotification::init
Initialize dependencies.
Method of the class: OrderWithdrawalFeatureHighlightNotification{}
No Hooks.
Returns
null. Nothing (null).
Usage
$OrderWithdrawalFeatureHighlightNotification = new OrderWithdrawalFeatureHighlightNotification(); $OrderWithdrawalFeatureHighlightNotification->init( $endpoint ): void;
- $endpoint(OrderWithdrawalEndpoint) (required)
- Order withdrawal endpoint.
OrderWithdrawalFeatureHighlightNotification::init() OrderWithdrawalFeatureHighlightNotification::init code WC 11.3.0
final public function init( OrderWithdrawalEndpoint $endpoint ): void { // phpcs:ignore Generic.CodeAnalysis.UnnecessaryFinalModifier.Found -- Required by WooCommerce injection method rules.
$this->endpoint = $endpoint;
}