| @@ 219-223 (lines=5) @@ | ||
| 216 | * If the view uses a dot syntax namespace then |
|
| 217 | * transform it all into the override view path. |
|
| 218 | */ |
|
| 219 | if ($addon = $this->addons->get($namespace)) { |
|
| 220 | $path = $this->theme->getNamespace( |
|
| 221 | "addons/{$addon->getVendor()}/{$addon->getSlug()}-{$addon->getType()}/" . $path |
|
| 222 | ); |
|
| 223 | } |
|
| 224 | ||
| 225 | if ($this->view->exists($path)) { |
|
| 226 | return $path; |
|
| @@ 235-239 (lines=5) @@ | ||
| 232 | * |
|
| 233 | * @deprecated since v3.0.0 |
|
| 234 | */ |
|
| 235 | if ($addon) { |
|
| 236 | $path = $this->theme->getNamespace( |
|
| 237 | "addon/{$addon->getVendor()}/{$addon->getSlug()}-{$addon->getType()}/" . $path |
|
| 238 | ); |
|
| 239 | } |
|
| 240 | ||
| 241 | if ($this->view->exists($path)) { |
|
| 242 | return $path; |
|