Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 8
0.00% covered (danger)
0.00%
0 / 2
CRAP
0.00% covered (danger)
0.00%
0 / 1
map
0.00% covered (danger)
0.00%
0 / 8
0.00% covered (danger)
0.00%
0 / 2
6
0.00% covered (danger)
0.00%
0 / 1
 __construct
0.00% covered (danger)
0.00%
0 / 7
0.00% covered (danger)
0.00%
0 / 1
2
 render
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3namespace App\View\Components\form;
4
5use Illuminate\View\Component;
6
7class map extends Component
8{
9
10    public $label;
11    public $latName;
12    public $longName;
13    public $latValue;
14    public $longValue;
15    public $name;
16    public $showInput;
17
18    /**
19     * Create a new component instance.
20     *
21     * @return void
22     */
23    public function __construct($label,$latName, $longName,$latValue,$longValue, $name, $showInput = "true")
24    {
25        $this->label = $label;
26        $this->latName = $latName;
27        $this->longName = $longName;
28        $this->latValue = $latValue;
29        $this->longValue = $longValue;
30        $this->name = $name;
31        $this->showInput = $showInput;
32    }
33
34    /**
35     * Get the view / contents that represent the component.
36     *
37     * @return \Illuminate\Contracts\View\View|\Closure|string
38     */
39    public function render()
40    {
41        return view('components.form.map');
42    }
43}