You are here

public function SubscriptionController::__construct in Commerce Recurring Framework 8

Constructs a new SubscriptionController.

Parameters

\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entity_type_bundle_info: The entity type bundle info.

File

src/Controller/SubscriptionController.php, line 28

Class

SubscriptionController
Returns responses for Subscription routes.

Namespace

Drupal\commerce_recurring\Controller

Code

public function __construct(EntityTypeBundleInfoInterface $entity_type_bundle_info) {
  $this->entityTypeBundleInfo = $entity_type_bundle_info;
}