<?php namespace Illuminate\View; class ViewName { /** * Normalize the given view name. * * @param string $name * @return string */ public static function normalize($name) { $delimiter = ViewFinderInterface::HINT_PATH_DELIMITER; if (! str_contains($name, $delimiter)) { return str_replace('/', '.', $name); } [$namespace, $name] = explode($delimiter, $name); return $namespace.$delimiter.str_replace('/', '.', $name); } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Compilers | Folder | 0755 |
|
|
Concerns | Folder | 0755 |
|
|
Engines | Folder | 0755 |
|
|
Middleware | Folder | 0755 |
|
|
AnonymousComponent.php | File | 1.14 KB | 0644 |
|
AppendableAttributeValue.php | File | 520 B | 0644 |
|
Component.php | File | 11.65 KB | 0644 |
|
ComponentAttributeBag.php | File | 11 KB | 0644 |
|
ComponentSlot.php | File | 1.56 KB | 0644 |
|
DynamicComponent.php | File | 4.66 KB | 0644 |
|
Factory.php | File | 14.62 KB | 0644 |
|
FileViewFinder.php | File | 7.09 KB | 0644 |
|
InvokableComponentVariable.php | File | 1.98 KB | 0644 |
|
LICENSE.md | File | 1.05 KB | 0644 |
|
View.php | File | 10.88 KB | 0644 |
|
ViewException.php | File | 903 B | 0644 |
|
ViewFinderInterface.php | File | 1.42 KB | 0644 |
|
ViewName.php | File | 521 B | 0644 |
|
ViewServiceProvider.php | File | 5.11 KB | 0644 |
|
composer.json | File | 1.02 KB | 0644 |
|