class TinkerCaster

Methods

static array
castApplication(Application $app)

Get an array representing the properties of an application.

static array
castCollection(Collection $collection)

Get an array representing the properties of a collection.

static array
castHtmlString(HtmlString $htmlString)

Get an array representing the properties of an html string.

static array
castStringable(Stringable $stringable)

Get an array representing the properties of a fluent string.

static array
castProcessResult(ProcessResult $result)

Get an array representing the properties of a process result.

static array
castModel(Model $model)

Get an array representing the properties of a model.

Details

at line 42
static array castApplication(Application $app)

Get an array representing the properties of an application.

Parameters

Application $app

Return Value

array

at line 63
static array castCollection(Collection $collection)

Get an array representing the properties of a collection.

Parameters

Collection $collection

Return Value

array

at line 73
static array castHtmlString(HtmlString $htmlString)

Get an array representing the properties of an html string.

Parameters

HtmlString $htmlString

Return Value

array

at line 83
static array castStringable(Stringable $stringable)

Get an array representing the properties of a fluent string.

Parameters

Stringable $stringable

Return Value

array

at line 93
static array castProcessResult(ProcessResult $result)

Get an array representing the properties of a process result.

Parameters

ProcessResult $result

Return Value

array

at line 106
static array castModel(Model $model)

Get an array representing the properties of a model.

Parameters

Model $model

Return Value

array