MokaCleanerTrait   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __moka_tearDown() 0 4 1
1
<?php
2
declare(strict_types=1);
3
4
namespace Moka\Traits;
5
6
use Moka\Moka;
7
8
/**
9
 * Trait MokaCleanerTrait
10
 * @package Moka\Traits
11
 */
12
trait MokaCleanerTrait
13
{
14
    /**
15
     * @return void
16
     *
17
     * @after
18
     */
19
    protected function __moka_tearDown()
20
    {
21
        Moka::clean();
22
    }
23
}
24