WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\RemoteInboxNotifications

ProductCountRuleProcessor::__construct() public WC 1.0

Constructor.

{} It's a method of the class: ProductCountRuleProcessor{}

No Hooks.

Return

null. Nothing.

Usage

$ProductCountRuleProcessor = new ProductCountRuleProcessor();
$ProductCountRuleProcessor->__construct( $product_query );
$product_query(object)
The product query.

Code of ProductCountRuleProcessor::__construct() WC 5.2.2

<?php
public function __construct( $product_query = null ) {
	$this->product_query = null === $product_query
		? new \WC_Product_Query(
			array(
				'limit'    => 1,
				'paginate' => true,
				'return'   => 'ids',
				'status'   => array( 'publish' ),
			)
		)
		: $product_query;
}