You are here

protected property CartAddResource::$entityRepository in Commerce Cart API 8

The entity repository.

Type: \Drupal\Core\Entity\EntityRepositoryInterface

File

src/Plugin/rest/resource/CartAddResource.php, line 82

Class

CartAddResource
Creates order items for the session's carts.

Namespace

Drupal\commerce_cart_api\Plugin\rest\resource

Code

protected $entityRepository;