* @license MIT */ class DisabledMethodException extends BadMethodCallException implements ExceptionInterface { const NAME = __CLASS__; public static function disabledMethod(string $method) : self { return new self(sprintf('Method "%s" is forcefully disabled', $method)); } }