MessageEntity   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
ccs 0
cts 2
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A relations() 0 4 1
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