BuildString   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 24
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A render() 0 4 1
1
<?php
2
3
namespace Swatty007\LaravelVersioningHelper\Views\Components;
4
5
use Illuminate\Contracts\View\View;
6
use Illuminate\View\Component;
7
8
class BuildString extends Component
9
{
10
    public $linkClasses;
11
12
    /**
13
     * Create a new component instance.
14
     *
15
     * @param $linkClasses
16
     */
17
    public function __construct($linkClasses = null)
18
    {
19
        $this->linkClasses = $linkClasses;
20
    }
21
22
    /**
23
     * Get the view / contents that represent the component.
24
     *
25
     * @return View|string
26
     */
27
    public function render()
28
    {
29
        return view('laravel-versioning-helper::components.build-string');
30
    }
31
}
32