Example #1
0
 /**
  * Helper method to determine whether or not a certain method can be
  * called on this driver.  Required method for any smart drivers.
  *
  * @param string $method The name of the called method.
  * @param array  $params Array of passed parameters.
  *
  * @return bool True if the method can be called with the given parameters,
  * false otherwise.
  */
 public function supportsMethod($method, $params)
 {
     if ($method == 'getProlongRegistrationUrl' || $method == 'getPaymentURL') {
         return true;
     }
     return parent::supportsMethod($method, $params);
 }