Пример #1
0
 /**
  *  Compare $this to another plan and return true if quotas and period are the same.
  * 
  * @param WpPlan $plan The Plan to compare with
  * @return Boolean True if Quotas are the same
  */
 private function isCousin($plan)
 {
     return $this->getPeriod() === $plan->getPeriod() && $this->getCurrency() === $plan->getCurrency() && $this->getDiskspace() === $plan->getDiskspace();
 }