App.php
1 month ago
Artisan.php
1 month ago
Auth.php
1 month ago
Blade.php
1 month ago
Broadcast.php
1 month ago
Bus.php
1 month ago
Cache.php
1 month ago
Config.php
1 month ago
Cookie.php
1 month ago
Crypt.php
1 month ago
DB.php
1 month ago
Date.php
1 month ago
Event.php
1 month ago
Facade.php
1 month ago
File.php
1 month ago
Gate.php
1 month ago
Hash.php
1 month ago
Http.php
1 month ago
Lang.php
1 month ago
Log.php
1 month ago
Mail.php
1 month ago
Notification.php
1 month ago
ParallelTesting.php
1 month ago
Password.php
1 month ago
Queue.php
1 month ago
RateLimiter.php
1 month ago
Redirect.php
1 month ago
Redis.php
1 month ago
Request.php
1 month ago
Response.php
1 month ago
Route.php
1 month ago
Schema.php
1 month ago
Session.php
1 month ago
Storage.php
1 month ago
URL.php
1 month ago
Validator.php
1 month ago
View.php
1 month ago
Vite.php
1 month ago
View.php
99 lines
| 1 | <?php |
| 2 | |
| 3 | namespace IAWPSCOPED\Illuminate\Support\Facades; |
| 4 | |
| 5 | /** |
| 6 | * @method static \Illuminate\Contracts\View\View file(string $path, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) |
| 7 | * @method static \Illuminate\Contracts\View\View make(string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) |
| 8 | * @method static \Illuminate\Contracts\View\View first(array $views, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) |
| 9 | * @method static string renderWhen(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) |
| 10 | * @method static string renderUnless(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []) |
| 11 | * @method static string renderEach(string $view, array $data, string $iterator, string $empty = 'raw|') |
| 12 | * @method static bool exists(string $view) |
| 13 | * @method static \Illuminate\Contracts\View\Engine getEngineFromPath(string $path) |
| 14 | * @method static mixed share(array|string $key, mixed|null $value = null) |
| 15 | * @method static void incrementRender() |
| 16 | * @method static void decrementRender() |
| 17 | * @method static bool doneRendering() |
| 18 | * @method static bool hasRenderedOnce(string $id) |
| 19 | * @method static void markAsRenderedOnce(string $id) |
| 20 | * @method static void addLocation(string $location) |
| 21 | * @method static \Illuminate\View\Factory addNamespace(string $namespace, string|array $hints) |
| 22 | * @method static \Illuminate\View\Factory prependNamespace(string $namespace, string|array $hints) |
| 23 | * @method static \Illuminate\View\Factory replaceNamespace(string $namespace, string|array $hints) |
| 24 | * @method static void addExtension(string $extension, string $engine, \Closure|null $resolver = null) |
| 25 | * @method static void flushState() |
| 26 | * @method static void flushStateIfDoneRendering() |
| 27 | * @method static array getExtensions() |
| 28 | * @method static \Illuminate\View\Engines\EngineResolver getEngineResolver() |
| 29 | * @method static \Illuminate\View\ViewFinderInterface getFinder() |
| 30 | * @method static void setFinder(\Illuminate\View\ViewFinderInterface $finder) |
| 31 | * @method static void flushFinderCache() |
| 32 | * @method static \Illuminate\Contracts\Events\Dispatcher getDispatcher() |
| 33 | * @method static void setDispatcher(\Illuminate\Contracts\Events\Dispatcher $events) |
| 34 | * @method static \Illuminate\Contracts\Container\Container getContainer() |
| 35 | * @method static void setContainer(\Illuminate\Contracts\Container\Container $container) |
| 36 | * @method static mixed shared(string $key, mixed $default = null) |
| 37 | * @method static array getShared() |
| 38 | * @method static void macro(string $name, object|callable $macro) |
| 39 | * @method static void mixin(object $mixin, bool $replace = true) |
| 40 | * @method static bool hasMacro(string $name) |
| 41 | * @method static void flushMacros() |
| 42 | * @method static void startComponent(\Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string $view, array $data = []) |
| 43 | * @method static void startComponentFirst(array $names, array $data = []) |
| 44 | * @method static string renderComponent() |
| 45 | * @method static mixed|null getConsumableComponentData(string $key, mixed $default = null) |
| 46 | * @method static void slot(string $name, string|null $content = null, array $attributes = []) |
| 47 | * @method static void endSlot() |
| 48 | * @method static array creator(array|string $views, \Closure|string $callback) |
| 49 | * @method static array composers(array $composers) |
| 50 | * @method static array composer(array|string $views, \Closure|string $callback) |
| 51 | * @method static void callComposer(\Illuminate\Contracts\View\View $view) |
| 52 | * @method static void callCreator(\Illuminate\Contracts\View\View $view) |
| 53 | * @method static void startFragment(string $fragment) |
| 54 | * @method static string stopFragment() |
| 55 | * @method static mixed getFragment(string $name, string|null $default = null) |
| 56 | * @method static array getFragments() |
| 57 | * @method static void flushFragments() |
| 58 | * @method static void startSection(string $section, string|null $content = null) |
| 59 | * @method static void inject(string $section, string $content) |
| 60 | * @method static string yieldSection() |
| 61 | * @method static string stopSection(bool $overwrite = false) |
| 62 | * @method static string appendSection() |
| 63 | * @method static string yieldContent(string $section, string $default = '') |
| 64 | * @method static string parentPlaceholder(string $section = '') |
| 65 | * @method static bool hasSection(string $name) |
| 66 | * @method static bool sectionMissing(string $name) |
| 67 | * @method static mixed getSection(string $name, string|null $default = null) |
| 68 | * @method static array getSections() |
| 69 | * @method static void flushSections() |
| 70 | * @method static void addLoop(\Countable|array $data) |
| 71 | * @method static void incrementLoopIndices() |
| 72 | * @method static void popLoop() |
| 73 | * @method static \stdClass|null getLastLoop() |
| 74 | * @method static array getLoopStack() |
| 75 | * @method static void startPush(string $section, string $content = '') |
| 76 | * @method static string stopPush() |
| 77 | * @method static void startPrepend(string $section, string $content = '') |
| 78 | * @method static string stopPrepend() |
| 79 | * @method static string yieldPushContent(string $section, string $default = '') |
| 80 | * @method static void flushStacks() |
| 81 | * @method static void startTranslation(array $replacements = []) |
| 82 | * @method static string renderTranslation() |
| 83 | * |
| 84 | * @see \Illuminate\View\Factory |
| 85 | * @internal |
| 86 | */ |
| 87 | class View extends Facade |
| 88 | { |
| 89 | /** |
| 90 | * Get the registered name of the component. |
| 91 | * |
| 92 | * @return string |
| 93 | */ |
| 94 | protected static function getFacadeAccessor() |
| 95 | { |
| 96 | return 'view'; |
| 97 | } |
| 98 | } |
| 99 |