Completed
Push — develop ( 2b0d56...088525 )
by Josef
02:15
created

Search   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace jofner\SDK\TwitchTV\Methods;
4
5
use jofner\SDK\TwitchTV\TwitchRequest;
6
7
/**
8
 * Search method class for TwitchTV API SDK for PHP
9
 *
10
 * @author Josef Ohnheiser <[email protected]>
11
 * @license https://github.com/jofner/Twitch-SDK/blob/master/LICENSE.md MIT
12
 * @homepage https://github.com/jofner/Twitch-SDK
13
 */
14
class Search
15
{
16
    /** @var TwitchRequest */
17
    protected $request;
18
19
    /**
20
     * Search constructor
21
     * @param TwitchRequest $request
22
     */
23
    public function __construct(TwitchRequest $request)
24
    {
25
        $this->request = $request;
26
    }
27
}
28