You are here

public function JobItemCart::count in Translation Management Tool 8

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);
}