EndpointAliases   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A searchTweets() 0 3 1
A getFollowers() 0 3 1
A getUserTimeline() 0 3 1
1
<?php
2
3
namespace Tequilarapido\Twit\Endpoints;
4
5
trait EndpointAliases
6
{
7
    public function getFollowers()
8
    {
9
        return new GetFollowers($this);
10
    }
11
12
    public function getUserTimeline()
13
    {
14
        return new GetUserTimeline($this);
15
    }
16
17
    public function searchTweets()
18
    {
19
        return new SearchTweets($this);
20
    }
21
}
22