Completed
Push — master ( 4bb011...4b99be )
by Guillaume
13:23
created

AbstractApi   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 0
dl 0
loc 19
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setConfig() 0 4 1
A getRetour() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: DIEU
5
 * Date: 02/05/2017
6
 * Time: 00:21
7
 */
8
9
namespace Starkerxp\CampaignBundle\Api;
10
11
abstract class AbstractApi implements ApiInterface
12
{
13
    protected $config;
14
    protected $api;
15
    protected $retour;
16
17
    public function setConfig(array $config)
18
    {
19
        $this->config = $config;
20
    }
21
22
    /**
23
     * @return mixed
24
     */
25
    public function getRetour()
26
    {
27
        return $this->retour;
28
    }
29
}
0 ignored issues
show
Coding Style introduced by
As per coding style, files should not end with a newline character.

This check marks files that end in a newline character, i.e. an empy line.

Loading history...
30