Debian Codegraph @

lib/3rdParty/composer/illuminate/support/Facades/View.php

raw symbols SCIP
1 <?php
2
3 namespace 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 $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 void prependLocation(string $location)
22 * @method static \Illuminate\View\Factory addNamespace(string $namespace, string|array $hints)
23 * @method static \Illuminate\View\Factory prependNamespace(string $namespace, string|array $hints)
24 * @method static \Illuminate\View\Factory replaceNamespace(string $namespace, string|array $hints)
25 * @method static void addExtension(string $extension, string $engine, \Closure|null $resolver = null)
26 * @method static void flushState()
27 * @method static void flushStateIfDoneRendering()
28 * @method static array getExtensions()
29 * @method static \Illuminate\View\Engines\EngineResolver getEngineResolver()
30 * @method static \Illuminate\View\ViewFinderInterface getFinder()
31 * @method static void setFinder(\Illuminate\View\ViewFinderInterface $finder)
32 * @method static void flushFinderCache()
33 * @method static \Illuminate\Contracts\Events\Dispatcher getDispatcher()
34 * @method static void setDispatcher(\Illuminate\Contracts\Events\Dispatcher $events)
35 * @method static \Illuminate\Contracts\Container\Container getContainer()
36 * @method static void setContainer(\Illuminate\Contracts\Container\Container $container)
37 * @method static mixed shared(string $key, mixed $default = null)
38 * @method static array getShared()
39 * @method static void macro(string $name, object|callable $macro)
40 * @method static void mixin(object $mixin, bool $replace = true)
41 * @method static bool hasMacro(string $name)
42 * @method static void flushMacros()
43 * @method static void startComponent(\Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string $view, array $data = [])
44 * @method static void startComponentFirst(array $names, array $data = [])
45 * @method static string renderComponent()
46 * @method static mixed getConsumableComponentData(string $key, mixed $default = null)
47 * @method static void slot(string $name, string|null $content = null, array $attributes = [])
48 * @method static void endSlot()
49 * @method static array creator(array|string $views, \Closure|string $callback)
50 * @method static array composers(array $composers)
51 * @method static array composer(array|string $views, \Closure|string $callback)
52 * @method static void callComposer(\Illuminate\Contracts\View\View $view)
53 * @method static void callCreator(\Illuminate\Contracts\View\View $view)
54 * @method static void startFragment(string $fragment)
55 * @method static string stopFragment()
56 * @method static mixed getFragment(string $name, string|null $default = null)
57 * @method static array getFragments()
58 * @method static void flushFragments()
59 * @method static void startSection(string $section, string|null $content = null)
60 * @method static void inject(string $section, string $content)
61 * @method static string yieldSection()
62 * @method static string stopSection(bool $overwrite = false)
63 * @method static string appendSection()
64 * @method static string yieldContent(string $section, string $default = '')
65 * @method static string parentPlaceholder(string $section = '')
66 * @method static bool hasSection(string $name)
67 * @method static bool sectionMissing(string $name)
68 * @method static mixed getSection(string $name, string|null $default = null)
69 * @method static array getSections()
70 * @method static void flushSections()
71 * @method static void addLoop(\Countable|array $data)
72 * @method static void incrementLoopIndices()
73 * @method static void popLoop()
74 * @method static \stdClass|null getLastLoop()
75 * @method static array getLoopStack()
76 * @method static void startPush(string $section, string $content = '')
77 * @method static string stopPush()
78 * @method static void startPrepend(string $section, string $content = '')
79 * @method static string stopPrepend()
80 * @method static string yieldPushContent(string $section, string $default = '')
81 * @method static bool isStackEmpty(string $section)
82 * @method static void flushStacks()
83 * @method static void startTranslation(array $replacements = [])
84 * @method static string renderTranslation()
85 *
86 * @see \Illuminate\View\Factory
87 */
88 class View extends Facade
89 {
90 /**
91 * Get the registered name of the component.
92 *
93 * @return string
94 */
95 protected static function getFacadeAccessor()
96 {
97 return 'view';
98 }
99 }