Total Complexity | 3 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class Robot |
||
17 | { |
||
18 | use HasHttpRequests; |
||
19 | |||
20 | /** |
||
21 | * 机器人 AccessToken |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $accessToken; |
||
26 | |||
27 | /** |
||
28 | * @param string $accessToken |
||
29 | */ |
||
30 | public function __construct($accessToken) |
||
33 | } |
||
34 | |||
35 | /** |
||
36 | * @param string $accessToken |
||
37 | */ |
||
38 | public static function create($accessToken) |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * 发送消息 |
||
45 | * |
||
46 | * @param array $message |
||
47 | * |
||
48 | * @return array |
||
49 | */ |
||
50 | public function send($message) |
||
59 |