* @copyright Meritoo.pl */ class UnknownMethodException extends UnknownTypeException { /** * Creates exception * * @param string $unknownMethod Name of unknown method used while talking to the LimeSurvey's API * @return UnknownMethodException */ public static function createException($unknownMethod) { /* @var UnknownMethodException $exception */ $exception = parent::create($unknownMethod, new MethodType(), 'name of method used while talking to the LimeSurvey\'s API'); return $exception; } }