public function __construct($messageFormat = '', $_ = null) { if (func_num_args() === 1) { $message = $messageFormat; } else { $message = call_user_func_array('sprintf', func_get_args()); } parent::__construct($message, null, null); }