Passed
Push — master ( 7f7158...8d1ed5 )
by Armando
02:55
created

StickerSet   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A subEntities() 0 4 1
1
<?php
2
/**
3
 * This file is part of the TelegramBot package.
4
 *
5
 * (c) Avtandil Kikabidze aka LONGMAN <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
namespace Longman\TelegramBot\Entities;
12
13
/**
14
 * Class StickerSet
15
 *
16
 * @link https://core.telegram.org/bots/api#stickerset
17
 *
18
 * @method string    getName()          Sticker set name
19
 * @method string    getTitle()         Sticker set title
20
 * @method bool      getContainsMasks() True, if the sticker set contains masks
21
 * @method Sticker[] getStickers()      List of all set stickers
22
 */
23
class StickerSet extends Entity
24
{
25
    /**
26
     * {@inheritdoc}
27
     */
28 1
    protected function subEntities()
29
    {
30
        return [
31 1
            'stickers' => [Sticker::class],
32
        ];
33
    }
34
}
35