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
Namespace
Drupal\commerce_promotionCode
public function __construct(Connection $connection) {
$this->connection = $connection;
}