审查视图

vendor/overtrue/wechat/src/Message/Location.php 919 字节
王智 authored
1 2 3 4 5 6 7 8 9 10 11 12
<?php

/*
 * This file is part of the overtrue/wechat.
 *
 * (c) overtrue <i@overtrue.me>
 *
 * This source file is subject to the MIT license that is bundled
 * with this source code in the file LICENSE.
 */

/**
王智 authored
13
 * Location.php.
王智 authored
14 15 16 17 18 19 20 21
 *
 * @author    overtrue <i@overtrue.me>
 * @copyright 2015 overtrue <i@overtrue.me>
 *
 * @see      https://github.com/overtrue
 * @see      http://overtrue.me
 */
王智 authored
22
namespace EasyWeChat\Message;
王智 authored
23 24

/**
王智 authored
25
 * Class Location.
王智 authored
26
 */
王智 authored
27
class Location extends AbstractMessage
王智 authored
28 29 30 31 32 33
{
    /**
     * Message type.
     *
     * @var string
     */
王智 authored
34
    protected $type = 'location';
王智 authored
35 36 37 38 39 40

    /**
     * Properties.
     *
     * @var array
     */
王智 authored
41 42 43 44 45 46 47
    protected $properties = [
                             'latitude',
                             'longitude',
                             'scale',
                             'label',
                             'precision',
                            ];
王智 authored
48
}