| @@ 112-120 (lines=9) @@ | ||
| 109 | /** |
|
| 110 | * @return string|\Illuminate\View\View |
|
| 111 | */ |
|
| 112 | public function getView() |
|
| 113 | { |
|
| 114 | if (is_null($this->view)) { |
|
| 115 | $reflect = new \ReflectionClass($this); |
|
| 116 | $this->view = 'column.'.strtolower($reflect->getShortName()); |
|
| 117 | } |
|
| 118 | ||
| 119 | return $this->view; |
|
| 120 | } |
|
| 121 | ||
| 122 | /** |
|
| 123 | * @param string|\Illuminate\View\View $view |
|
| @@ 151-159 (lines=9) @@ | ||
| 148 | /** |
|
| 149 | * @return string|\Illuminate\View\View |
|
| 150 | */ |
|
| 151 | public function getView() |
|
| 152 | { |
|
| 153 | if (is_null($this->view)) { |
|
| 154 | $name = (new \ReflectionClass($this))->getShortName(); |
|
| 155 | $this->view = 'form.element.'.strtolower($name); |
|
| 156 | } |
|
| 157 | ||
| 158 | return $this->view; |
|
| 159 | } |
|
| 160 | ||
| 161 | /** |
|
| 162 | * @param \Illuminate\View\View|string $view |
|