trait TestViews (View source)

Properties

static protected string|null $originalCompiledViewPath

The original compiled view path prior to appending the token.

Methods

void
bootTestViews()

Boot test views for parallel testing.

string|null
parallelSafeCompiledViewPath()

Get the test compiled view path.

void
switchToCompiledViewPath(string $path)

Switch to the given compiled view path.

Details

protected void bootTestViews()

Boot test views for parallel testing.

Return Value

void

protected string|null parallelSafeCompiledViewPath()

Get the test compiled view path.

Return Value

string|null

protected void switchToCompiledViewPath(string $path)

Switch to the given compiled view path.

Parameters

string $path

Return Value

void

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.