public function isMessageType($type, $object) { trigger_error('This method has been deprecated. Use isType() on the Message object instead.', E_USER_DEPRECATED); }