Get   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 20
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A prepare() 0 2 1
1
<?php
2
3
namespace sylouuu\Curl\Method;
4
5
    /**
6
     * Get
7
     *
8
     * @author sylouuu
9
     * @link https://github.com/sylouuu/php-curl
10
     * @version 0.8.1
11
     * @license MIT
12
     */
13
    class Get extends \sylouuu\Curl\Curl
14
    {
15
        /**
16
         * Constructor
17
         *
18
         * @param string $url
19
         * @param array $options
20
         */
21
        public function __construct($url, $options = null)
22
        {
23
            parent::__construct($url, $options);
24
25
            $this->prepare();
26
        }
27
28
        /**
29
         * Prepare the request
30
         */
31
        public function prepare()
32
        {
33
        }
34
    }
35