/** * Gets the number of times this promotion has been used in its particular scope. * * @since 1.0.0 * * @param \EE_Promotion_Object $promotion_object * @return int */ public function uses_left_for_scope_object(EE_Promotion_Object $promotion_object) { return $this->uses() === EE_INF_IN_DB ? INF : $this->uses() - $promotion_object->used(); }