ComponentSlot

Illuminate\View\ComponentSlot

class src/Illuminate/View/ComponentSlot.php

__construct

v11.0.0 以前から

__construct($contents = '', $attributes = [])
@param string $contents
@param array $attributes
  1. v11.0.0 追加
    変更後
    __construct($contents = '', $attributes = []) [@param string $contents, @param array $attributes, @return void]
  2. v12.4.0 シグネチャ変更
    変更前
    __construct($contents = '', $attributes = []) [@param string $contents, @param array $attributes, @return void]
    変更後
    __construct($contents = '', $attributes = []) [@param string $contents, @param array $attributes]

__toString

v11.0.0 以前から

__toString()
@return string
  1. v11.0.0 追加
    変更後
    __toString() [@return string]

hasActualContent

v11.0.0 以前から

hasActualContent(callable|string|null $callable = null)
@param callable|string|null $callable
@return bool
  1. v11.0.0 追加
    変更後
    hasActualContent(callable|string|null $callable = null) [@param callable|string|null $callable, @return bool]

isEmpty

v11.0.0 以前から

isEmpty()
@return bool
  1. v11.0.0 追加
    変更後
    isEmpty() [@return bool]

isNotEmpty

v11.0.0 以前から

isNotEmpty()
@return bool
  1. v11.0.0 追加
    変更後
    isNotEmpty() [@return bool]

toHtml

v11.0.0 以前から

toHtml()
@return string
  1. v11.0.0 追加
    変更後
    toHtml() [@return string]

withAttributes

v11.0.0 以前から

withAttributes(array $attributes)
@param array $attributes
@return $this
  1. v11.0.0 追加
    変更後
    withAttributes(array $attributes) [@param array $attributes, @return $this]