public function JobItemCart::removeJobItems

Remove job items from the cart.

Parameters

array $job_item_ids: Job items to be removed.

File

src/JobItemCart.php, line 107

Class

JobItemCart
Represents a job item cart.

Namespace

Drupal\tmgmt

Code

public function removeJobItems(array $job_item_ids) {
  $this->cart = array_diff($this->cart, $job_item_ids);
}