You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
445 B
20 lines
445 B
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Jobs\Message;
|
|
|
|
use EasyWeChat\Kernel\Exceptions\InvalidArgumentException;
|
|
use EasyWeChat\MiniApp\Application as MiniApplication;
|
|
|
|
class SubscriptionMessage extends Message
|
|
{
|
|
/**
|
|
* @return MiniApplication
|
|
* @throws InvalidArgumentException
|
|
*/
|
|
public function getApp(): MiniApplication
|
|
{
|
|
/** @var MiniApplication */
|
|
return getWeChatMiniProgramApp();
|
|
}
|
|
}
|
|
|