Completed
Branch new-addon-api (b7bde0)
by
unknown
18:29 queued 08:41
created

DataMigrationApi::dataMigrationScripts()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace EventEspresso\core\services\addon\api\v1;
4
5
class DataMigrationApi
6
{
7
8
    /**
9
     * @var string path to DMS folder
10
     */
11
    private $data_migration_scripts;
12
13
14
    /**
15
     * @return string
16
     */
17
    public function dataMigrationScripts(): string
18
    {
19
        return $this->data_migration_scripts;
20
    }
21
22
23
    /**
24
     * @param string $data_migration_scripts
25
     */
26
    public function addDataMigrationScripts(string $data_migration_scripts): void
27
    {
28
        $this->data_migration_scripts = $data_migration_scripts;
29
    }
30
}
31