Total Complexity | 2 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class MySqlGrammar extends Base implements EagerLimitGrammar |
||
9 | { |
||
10 | /** |
||
11 | * Compile an extraction of the first path segment. |
||
12 | * |
||
13 | * @param string $pathColumn |
||
14 | * @return string |
||
15 | */ |
||
16 | 20 | public function compileFirstPathSegment(string $pathColumn): string |
|
21 | } |
||
22 | |||
23 | /** |
||
24 | * Compile an extraction of the first path segment's parent key. |
||
25 | * |
||
26 | * @param string $pathColumn |
||
27 | * @param string $parentKeyColumn |
||
28 | * @param \Illuminate\Database\Query\Builder $parentKeyQuery |
||
29 | * @return string |
||
30 | */ |
||
31 | 4 | public function compileParentKeyOfFirstPathSegment(string $pathColumn, string $parentKeyColumn, Builder $parentKeyQuery): string |
|
40 |