AdapterMock   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getDefinedParameters() 0 4 1
A getRequiredParameters() 0 4 1
1
<?php
2
/**
3
 * Push notification services abstraction (http://github.com/juliangut/tify)
4
 *
5
 * @link https://github.com/juliangut/tify for the canonical source repository
6
 *
7
 * @license https://github.com/juliangut/tify/blob/master/LICENSE
8
 */
9
10
namespace Jgut\Tify\Tests\Mock;
11
12
use Jgut\Tify\Adapter\AbstractAdapter;
13
14
class AdapterMock extends AbstractAdapter
15
{
16
    /**
17
     * {@inheritdoc}
18
     */
19
    protected function getDefinedParameters()
20
    {
21
        return ['param1'];
22
    }
23
24
    /**
25
     * {@inheritdoc}
26
     */
27
    protected function getRequiredParameters()
28
    {
29
        return ['param1'];
30
    }
31
}
32