public function JobItemCart::count

Gets count of items in the cart.

Return value

int Number of items in the cart.

File

src/JobItemCart.php, line 127

Class

JobItemCart
Represents a job item cart.

Namespace

Drupal\tmgmt

Code

public function count() {
  return count($this->cart);
}