Passed
Pull Request — master (#59)
by Kevin
18:04
created

UnpersistingFactories::_tearDownFactories()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 1
c 1
b 0
f 1
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Zenstruck\Foundry\Test;
4
5
/**
6
 * @author Kevin Bond <[email protected]>
7
 */
8
trait UnpersistingFactories
9
{
10
    /**
11
     * @internal
12
     * @before
13
     */
14
    public static function _setUpFactories(): void
15
    {
16
        TestState::bootFoundry();
17
    }
18
19
    /**
20
     * @internal
21
     * @after
22
     */
23
    public static function _tearDownFactories(): void
24
    {
25
        TestState::shutdownFoundry();
26
    }
27
}
28