MessageEntity::relations()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
namespace Telegram\Bot\Objects;
4
5
/**
6
 * Class Location.
7
 *
8
 *
9
 * @method string   getType()   Type of the entity. Can be mention (@username), hashtag, bot_command, url, email, bold (bold text), italic (italic text), code (monowidth string), pre (monowidth block), text_link (for clickable text URLs), text_mention (for users without usernames).
10
 * @method int      getOffset() Offset in UTF-16 code units to the start of the entity
11
 * @method int      getLength() Length of the entity in UTF-16 code units
12
 * @method string   getUrl()    (Optional). For "text_link" only, url that will be opened after user taps on the text.
13
 * @method User     getUser()   (Optional). For “text_mention” only, the mentioned user.
14
 */
15
class MessageEntity extends BaseObject
16
{
17
    /**
18
     * {@inheritdoc}
19
     */
20
    public function relations()
21
    {
22
        return [];
23
    }
24
}
25