You are here

public function PromotionUsage::__construct in Commerce Core 8.2

Constructs a new PromotionUsage object.

Parameters

\Drupal\Core\Database\Connection $connection: The database connection to use.

File

modules/promotion/src/PromotionUsage.php, line 26

Class

PromotionUsage

Namespace

Drupal\commerce_promotion

Code

public function __construct(Connection $connection) {
  $this->connection = $connection;
}