Venue   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 9
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A subEntities() 0 4 1
1
<?php
2
3
/**
4
 * This file is part of the TelegramBot package.
5
 *
6
 * (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Longman\TelegramBot\Entities;
13
14
/**
15
 * Class Venue
16
 *
17
 * @link https://core.telegram.org/bots/api#venue
18
 *
19
 * @method Location getLocation()        Venue location
20
 * @method string   getTitle()           Name of the venue
21
 * @method string   getAddress()         Address of the venue
22
 * @method string   getFoursquareId()    Optional. Foursquare identifier of the venue
23
 * @method string   getFoursquareType()  Optional. Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.)
24
 * @method string   getGooglePlaceId()   Optional. Google Places identifier of the venue
25
 * @method string   getGooglePlaceType() Optional. Google Places type of the venue
26
 */
27
class Venue extends Entity
28
{
29
    /**
30
     * {@inheritdoc}
31
     */
32
    protected function subEntities(): array
33
    {
34
        return [
35
            'location' => Location::class,
36
        ];
37
    }
38
}
39