Completed
Pull Request — master (#12)
by Angelo
08:49
created

MockeryPlugin::getStrategy()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Moka\Plugin\Mockery;
5
6
use Moka\Plugin\PluginInterface;
7
use Moka\Strategy\MockingStrategyInterface;
8
9
/**
10
 * Class MockeryPlugin
11
 * @package Moka\Plugin\Mockery
12
 */
13
class MockeryPlugin implements PluginInterface
14
{
15
    /**
16
     * @return MockingStrategyInterface
17
     */
18
    public static function getStrategy(): MockingStrategyInterface
19
    {
20
        return new MockeryMockingStrategy();
21
    }
22
}
23