Index   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getDabolvilleFormat() 0 6 1
A __invoke() 0 3 1
1
<?php
2
3
namespace App\Http\Controllers\Families;
4
5
use Illuminate\Http\Request;
6
use Illuminate\Routing\Controller;
7
8
class Index extends Controller
9
{
10
    public function __invoke(Request $request)
11
    {
12
        return $this->getDabolvilleFormat();
13
    }
14
15
    public function getDabolvilleFormat(): string
16
    {
17
        //1 Progenitor - $husband married $woman $year $location
18
        //1.1 Child - $husband married $woman $year $location
19
        //1.1.1 Grandchild - $husband married $woman $year $location
20
        return 'true';
21
    }
22
}
23