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\tmgmtCode
public function count() {
return count($this->cart);
}