delete() public method

public delete ( array | null $params = null, array | string | null $opts = null ) : Plan
$params array | null
$opts array | string | null
return Plan The deleted plan.
Exemplo n.º 1
0
 /**
  * @param Plan $plan
  * @return Plan
  */
 public function remove(Plan $plan)
 {
     $upd = $plan->delete();
     return $upd;
 }