Passed
Pull Request — master (#9)
by Quang
02:23
created

LockFile   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 11
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getAbsolutePath() 0 3 1
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