You are here

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

The current user.

Type: \Drupal\Core\Session\AccountInterface

File

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

Class

CartAddResource
Creates order items for the session's carts.

Namespace

Drupal\commerce_cart_api\Plugin\rest\resource

Code

protected $currentUser;