View

Illuminate\Support\Facades\View

class src/Illuminate/Support/Facades/View.php

addExtension

v11.0.0 以前から

static @method

static addExtension(string $extension, string $engine, \Closure|null $resolver = null): void
  1. v11.0.0 追加
    変更後
    @method static addExtension(string $extension, string $engine, \Closure|null $resolver = null): void

addLocation

v11.0.0 以前から

static @method

static addLocation(string $location): void
  1. v11.0.0 追加
    変更後
    @method static addLocation(string $location): void

addLoop

v11.0.0 以前から

static @method

static addLoop(\Countable|array $data): void
  1. v11.0.0 追加
    変更後
    @method static addLoop(\Countable|array $data): void

addNamespace

v11.0.0 以前から

static @method

static addNamespace(string $namespace, string|array $hints): \Illuminate\View\Factory
  1. v11.0.0 追加
    変更後
    @method static addNamespace(string $namespace, string|array $hints): \Illuminate\View\Factory

appendSection

v11.0.0 以前から

static @method

static appendSection(): string
  1. v11.0.0 追加
    変更後
    @method static appendSection(): string

callComposer

v11.0.0 以前から

static @method

static callComposer(\Illuminate\Contracts\View\View $view): void
  1. v11.0.0 追加
    変更後
    @method static callComposer(\Illuminate\Contracts\View\View $view): void

callCreator

v11.0.0 以前から

static @method

static callCreator(\Illuminate\Contracts\View\View $view): void
  1. v11.0.0 追加
    変更後
    @method static callCreator(\Illuminate\Contracts\View\View $view): void

composer

v11.0.0 以前から

static @method

static composer(array|string $views, \Closure|string $callback): array
  1. v11.0.0 追加
    変更後
    @method static composer(array|string $views, \Closure|string $callback): array

composers

v11.0.0 以前から

static @method

static composers(array $composers): array
  1. v11.0.0 追加
    変更後
    @method static composers(array $composers): array

creator

v11.0.0 以前から

static @method

static creator(array|string $views, \Closure|string $callback): array
  1. v11.0.0 追加
    変更後
    @method static creator(array|string $views, \Closure|string $callback): array

decrementRender

v11.0.0 以前から

static @method

static decrementRender(): void
  1. v11.0.0 追加
    変更後
    @method static decrementRender(): void

doneRendering

v11.0.0 以前から

static @method

static doneRendering(): bool
  1. v11.0.0 追加
    変更後
    @method static doneRendering(): bool

endSlot

v11.0.0 以前から

static @method

static endSlot(): void
  1. v11.0.0 追加
    変更後
    @method static endSlot(): void

exists

v11.0.0 以前から

static @method

static exists(string $view): bool
  1. v11.0.0 追加
    変更後
    @method static exists(string $view): bool

file

v11.0.0 以前から

static @method

static file(string $path, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []): \Illuminate\Contracts\View\View
  1. v11.0.0 追加
    変更後
    @method static file(string $path, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []): \Illuminate\Contracts\View\View

first

v11.0.0 以前から

static @method

static first(array $views, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []): \Illuminate\Contracts\View\View
  1. v11.0.0 追加
    変更後
    @method static first(array $views, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []): \Illuminate\Contracts\View\View

flushFinderCache

v11.0.0 以前から

static @method

static flushFinderCache(): void
  1. v11.0.0 追加
    変更後
    @method static flushFinderCache(): void

flushFragments

v11.0.0 以前から

static @method

static flushFragments(): void
  1. v11.0.0 追加
    変更後
    @method static flushFragments(): void

flushMacros

v11.0.0 以前から

static @method

static flushMacros(): void
  1. v11.0.0 追加
    変更後
    @method static flushMacros(): void

flushSections

v11.0.0 以前から

static @method

static flushSections(): void
  1. v11.0.0 追加
    変更後
    @method static flushSections(): void

flushStacks

v11.0.0 以前から

static @method

static flushStacks(): void
  1. v11.0.0 追加
    変更後
    @method static flushStacks(): void

flushState

v11.0.0 以前から

static @method

static flushState(): void
  1. v11.0.0 追加
    変更後
    @method static flushState(): void

flushStateIfDoneRendering

v11.0.0 以前から

static @method

static flushStateIfDoneRendering(): void
  1. v11.0.0 追加
    変更後
    @method static flushStateIfDoneRendering(): void

getConsumableComponentData

v11.0.0 以前から

static @method

static getConsumableComponentData(string $key, mixed $default = null): mixed
  1. v11.0.0 追加
    変更後
    @method static getConsumableComponentData(string $key, mixed $default = null): mixed|null
  2. v12.26.0 シグネチャ変更
    変更前
    @method static getConsumableComponentData(string $key, mixed $default = null): mixed|null
    変更後
    @method static getConsumableComponentData(string $key, mixed $default = null): mixed

getContainer

v11.0.0 以前から

static @method

static getContainer(): \Illuminate\Contracts\Container\Container
  1. v11.0.0 追加
    変更後
    @method static getContainer(): \Illuminate\Contracts\Container\Container

getDispatcher

v11.0.0 以前から

static @method

static getDispatcher(): \Illuminate\Contracts\Events\Dispatcher
  1. v11.0.0 追加
    変更後
    @method static getDispatcher(): \Illuminate\Contracts\Events\Dispatcher

getEngineFromPath

v11.0.0 以前から

static @method

static getEngineFromPath(string $path): \Illuminate\Contracts\View\Engine
  1. v11.0.0 追加
    変更後
    @method static getEngineFromPath(string $path): \Illuminate\Contracts\View\Engine

getEngineResolver

v11.0.0 以前から

static @method

static getEngineResolver(): \Illuminate\View\Engines\EngineResolver
  1. v11.0.0 追加
    変更後
    @method static getEngineResolver(): \Illuminate\View\Engines\EngineResolver

getExtensions

v11.0.0 以前から

static @method

static getExtensions(): array
  1. v11.0.0 追加
    変更後
    @method static getExtensions(): array

getFinder

v11.0.0 以前から

static @method

static getFinder(): \Illuminate\View\ViewFinderInterface
  1. v11.0.0 追加
    変更後
    @method static getFinder(): \Illuminate\View\ViewFinderInterface

getFragment

v11.0.0 以前から

static @method

static getFragment(string $name, string|null $default = null): mixed
  1. v11.0.0 追加
    変更後
    @method static getFragment(string $name, string|null $default = null): mixed

getFragments

v11.0.0 以前から

static @method

static getFragments(): array
  1. v11.0.0 追加
    変更後
    @method static getFragments(): array

getLastLoop

v11.0.0 以前から

static @method

static getLastLoop(): \stdClass|null
  1. v11.0.0 追加
    変更後
    @method static getLastLoop(): \stdClass|null

getLoopStack

v11.0.0 以前から

static @method

static getLoopStack(): array
  1. v11.0.0 追加
    変更後
    @method static getLoopStack(): array

getSection

v11.0.0 以前から

static @method

static getSection(string $name, string|null $default = null): mixed
  1. v11.0.0 追加
    変更後
    @method static getSection(string $name, string|null $default = null): mixed

getSections

v11.0.0 以前から

static @method

static getSections(): array
  1. v11.0.0 追加
    変更後
    @method static getSections(): array

getShared

v11.0.0 以前から

static @method

static getShared(): array
  1. v11.0.0 追加
    変更後
    @method static getShared(): array

hasMacro

v11.0.0 以前から

static @method

static hasMacro(string $name): bool
  1. v11.0.0 追加
    変更後
    @method static hasMacro(string $name): bool

hasRenderedOnce

v11.0.0 以前から

static @method

static hasRenderedOnce(string $id): bool
  1. v11.0.0 追加
    変更後
    @method static hasRenderedOnce(string $id): bool

hasSection

v11.0.0 以前から

static @method

static hasSection(string $name): bool
  1. v11.0.0 追加
    変更後
    @method static hasSection(string $name): bool

incrementLoopIndices

v11.0.0 以前から

static @method

static incrementLoopIndices(): void
  1. v11.0.0 追加
    変更後
    @method static incrementLoopIndices(): void

incrementRender

v11.0.0 以前から

static @method

static incrementRender(): void
  1. v11.0.0 追加
    変更後
    @method static incrementRender(): void

inject

v11.0.0 以前から

static @method

static inject(string $section, string $content): void
  1. v11.0.0 追加
    変更後
    @method static inject(string $section, string $content): void

isStackEmpty

v12.39.0 から

static @method

static isStackEmpty(string $section): bool
  1. v12.39.0 追加
    変更後
    @method static isStackEmpty(string $section): bool

macro

v11.0.0 以前から

static @method

static macro(string $name, object|callable $macro): void
  1. v11.0.0 追加
    変更後
    @method static macro(string $name, object|callable $macro): void
  2. v11.8.0 シグネチャ変更
    変更前
    @method static macro(string $name, object|callable $macro): void
    変更後
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
  3. v11.23.3 シグネチャ変更
    変更前
    @method static macro(string $name, object|callable $macro, object|callable $macro = null): void
    変更後
    @method static macro(string $name, object|callable $macro): void

make

v11.0.0 以前から

static @method

static make(string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []): \Illuminate\Contracts\View\View
  1. v11.0.0 追加
    変更後
    @method static make(string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []): \Illuminate\Contracts\View\View

markAsRenderedOnce

v11.0.0 以前から

static @method

static markAsRenderedOnce(string $id): void
  1. v11.0.0 追加
    変更後
    @method static markAsRenderedOnce(string $id): void

mixin

v11.0.0 以前から

static @method

static mixin(object $mixin, bool $replace = true): void
  1. v11.0.0 追加
    変更後
    @method static mixin(object $mixin, bool $replace = true): void

parentPlaceholder

v11.0.0 以前から

static @method

static parentPlaceholder(string $section = ''): string
  1. v11.0.0 追加
    変更後
    @method static parentPlaceholder(string $section = ''): string

popLoop

v11.0.0 以前から

static @method

static popLoop(): void
  1. v11.0.0 追加
    変更後
    @method static popLoop(): void

prependLocation

v11.24.0 から

static @method

static prependLocation(string $location): void
  1. v11.24.0 追加
    変更後
    @method static prependLocation(string $location): void

prependNamespace

v11.0.0 以前から

static @method

static prependNamespace(string $namespace, string|array $hints): \Illuminate\View\Factory
  1. v11.0.0 追加
    変更後
    @method static prependNamespace(string $namespace, string|array $hints): \Illuminate\View\Factory

renderComponent

v11.0.0 以前から

static @method

static renderComponent(): string
  1. v11.0.0 追加
    変更後
    @method static renderComponent(): string

renderEach

v11.0.0 以前から

static @method

static renderEach(string $view, array $data, string $iterator, string $empty = 'raw|'): string
  1. v11.0.0 追加
    変更後
    @method static renderEach(string $view, array $data, string $iterator, string $empty = 'raw|'): string

renderTranslation

v11.0.0 以前から

static @method

static renderTranslation(): string
  1. v11.0.0 追加
    変更後
    @method static renderTranslation(): string

renderUnless

v11.0.0 以前から

static @method

static renderUnless(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []): string
  1. v11.0.0 追加
    変更後
    @method static renderUnless(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []): string

renderWhen

v11.0.0 以前から

static @method

static renderWhen(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []): string
  1. v11.0.0 追加
    変更後
    @method static renderWhen(bool $condition, string $view, \Illuminate\Contracts\Support\Arrayable|array $data = [], array $mergeData = []): string

replaceNamespace

v11.0.0 以前から

static @method

static replaceNamespace(string $namespace, string|array $hints): \Illuminate\View\Factory
  1. v11.0.0 追加
    変更後
    @method static replaceNamespace(string $namespace, string|array $hints): \Illuminate\View\Factory

sectionMissing

v11.0.0 以前から

static @method

static sectionMissing(string $name): bool
  1. v11.0.0 追加
    変更後
    @method static sectionMissing(string $name): bool

setContainer

v11.0.0 以前から

static @method

static setContainer(\Illuminate\Contracts\Container\Container $container): void
  1. v11.0.0 追加
    変更後
    @method static setContainer(\Illuminate\Contracts\Container\Container $container): void

setDispatcher

v11.0.0 以前から

static @method

static setDispatcher(\Illuminate\Contracts\Events\Dispatcher $events): void
  1. v11.0.0 追加
    変更後
    @method static setDispatcher(\Illuminate\Contracts\Events\Dispatcher $events): void

setFinder

v11.0.0 以前から

static @method

static setFinder(\Illuminate\View\ViewFinderInterface $finder): void
  1. v11.0.0 追加
    変更後
    @method static setFinder(\Illuminate\View\ViewFinderInterface $finder): void

share

v11.0.0 以前から

static @method

static share(array|string $key, mixed $value = null): mixed
  1. v11.0.0 追加
    変更後
    @method static share(array|string $key, mixed|null $value = null): mixed
  2. v12.26.0 シグネチャ変更
    変更前
    @method static share(array|string $key, mixed|null $value = null): mixed
    変更後
    @method static share(array|string $key, mixed $value = null): mixed

shared

v11.0.0 以前から

static @method

static shared(string $key, mixed $default = null): mixed
  1. v11.0.0 追加
    変更後
    @method static shared(string $key, mixed $default = null): mixed

slot

v11.0.0 以前から

static @method

static slot(string $name, string|null $content = null, array $attributes = []): void
  1. v11.0.0 追加
    変更後
    @method static slot(string $name, string|null $content = null, array $attributes = []): void

startComponent

v11.0.0 以前から

static @method

static startComponent(\Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string $view, array $data = []): void
  1. v11.0.0 追加
    変更後
    @method static startComponent(\Illuminate\Contracts\View\View|\Illuminate\Contracts\Support\Htmlable|\Closure|string $view, array $data = []): void

startComponentFirst

v11.0.0 以前から

static @method

static startComponentFirst(array $names, array $data = []): void
  1. v11.0.0 追加
    変更後
    @method static startComponentFirst(array $names, array $data = []): void

startFragment

v11.0.0 以前から

static @method

static startFragment(string $fragment): void
  1. v11.0.0 追加
    変更後
    @method static startFragment(string $fragment): void

startPrepend

v11.0.0 以前から

static @method

static startPrepend(string $section, string $content = ''): void
  1. v11.0.0 追加
    変更後
    @method static startPrepend(string $section, string $content = ''): void

startPush

v11.0.0 以前から

static @method

static startPush(string $section, string $content = ''): void
  1. v11.0.0 追加
    変更後
    @method static startPush(string $section, string $content = ''): void

startSection

v11.0.0 以前から

static @method

static startSection(string $section, string|null $content = null): void
  1. v11.0.0 追加
    変更後
    @method static startSection(string $section, string|null $content = null): void

startTranslation

v11.0.0 以前から

static @method

static startTranslation(array $replacements = []): void
  1. v11.0.0 追加
    変更後
    @method static startTranslation(array $replacements = []): void

stopFragment

v11.0.0 以前から

static @method

static stopFragment(): string
  1. v11.0.0 追加
    変更後
    @method static stopFragment(): string

stopPrepend

v11.0.0 以前から

static @method

static stopPrepend(): string
  1. v11.0.0 追加
    変更後
    @method static stopPrepend(): string

stopPush

v11.0.0 以前から

static @method

static stopPush(): string
  1. v11.0.0 追加
    変更後
    @method static stopPush(): string

stopSection

v11.0.0 以前から

static @method

static stopSection(bool $overwrite = false): string
  1. v11.0.0 追加
    変更後
    @method static stopSection(bool $overwrite = false): string

yieldContent

v11.0.0 以前から

static @method

static yieldContent(string $section, string $default = ''): string
  1. v11.0.0 追加
    変更後
    @method static yieldContent(string $section, string $default = ''): string

yieldPushContent

v11.0.0 以前から

static @method

static yieldPushContent(string $section, string $default = ''): string
  1. v11.0.0 追加
    変更後
    @method static yieldPushContent(string $section, string $default = ''): string

yieldSection

v11.0.0 以前から

static @method

static yieldSection(): string
  1. v11.0.0 追加
    変更後
    @method static yieldSection(): string