class
Illuminate
/
Console
/
View
/
Components
/
Component
abstract
Component
Properties
protected
$mutators
array
The list of mutators to apply on the view data.
Default: null
Methods
public
__construct ( $output ) : void
Creates a new component instance.
Parameters
- $output OutputStyle
protected
renderView ( $view , $data , $verbosity ) : void
Renders the given view.
Parameters
- $view string
- $data Illuminate\...\Arrayable|array
- $verbosity int
protected
compile ( $view , $data ) : void
Compile the given view contents.
Parameters
- $view string
- $data array
protected
mutate
(
$data
,
$mutators
)
:
array |string
Mutates the given data with the given set of mutators.
Parameters
-
$data
array
|string -
$mutators
array
protected
usingQuestionHelper ( $callable ) : mixed
Eventually performs a question using the component's question helper.
Parameters
- $callable callable