ViewComponent
abstract class ViewComponent extends Component implements Htmlable (View source)
Traits
Properties
static protected array | $configurations | from Configurable | |
static protected array | $importantConfigurations | from Configurable | |
protected string | $evaluationIdentifier | from EvaluatesClosures | |
protected array | $evaluationParametersToRemove | from EvaluatesClosures | |
protected string | $view | ||
protected array | $viewData | ||
protected string | $viewIdentifier | ||
static protected array | $propertyCache | ||
static protected array | $methodCache |
Methods
static
configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)
No description
from
Configurable
evaluate($value, array $parameters = [], array $exceptParameters = [])
No description
from
EvaluatesClosures
view(string $view, array $viewData = [])
No description
array
extractPublicProperties()
No description
array
extractPublicMethods()
No description
viewData(array $data)
No description
string
getView()
No description
string
toHtml()
No description
View
render()
No description
Details
static
configureUsing(Closure $callback, Closure|null $during = null, bool $isImportant = false)
No description
Configurable
configure()
No description
protected void
setUp()
No description
evaluate($value, array $parameters = [], array $exceptParameters = [])
No description
protected array
getDefaultEvaluationParameters()
No description
protected
resolveEvaluationParameter(string $parameter, Closure $value)
No description
protected bool
isEvaluationParameterRemoved(string $parameter)
No description
ViewComponent
view(string $view, array $viewData = [])
No description
protected array
extractPublicProperties()
No description
protected array
extractPublicMethods()
No description
ViewComponent
viewData(array $data)
No description
string
getView()
No description
string
toHtml()
No description
View
render()
No description