Passed
Pull Request — master (#9)
by Quang
04:34
created

LockFile::getAbsolutePath()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Digia\Lumen\GraphQL;
4
5
/**
6
 * Class LockFile
7
 * @package Digia\Lumen\GraphQL
8
 */
9
class LockFile
10
{
11
12
    private const LOCK_FILE_NAME = 'graphql.schema.lock.json';
13
14
    /**
15
     * @return string
16
     */
17
    public static function getAbsolutePath(): string
18
    {
19
        return base_path() . '/' . self::LOCK_FILE_NAME;
20
    }
21
22
}
23