class FormatController extends Controller (View source)

Controller to render plain-text content as HTML.

This is used for the "preview" function in the text editor.

Traits

AuthorizesRequests
DispatchesJobs
ValidatesRequests

Methods

__construct(Formatter $formatter)

No description

string
__invoke(Request $request)

No description

Details

__construct(Formatter $formatter)

No description

Parameters

Formatter $formatter

string __invoke(Request $request)

No description

Parameters

Request $request

Return Value

string