public function JobItemCart::getJobItemsFromCart

Gets job items in the cart.

Return value

\Drupal\tmgmt\JobItemInterface[] $items Job items in the cart.

File

src/JobItemCart.php, line 117

Class

JobItemCart
Represents a job item cart.

Namespace

Drupal\tmgmt

Code

public function getJobItemsFromCart() {
  return JobItem::loadMultiple($this->cart);
}