View::__construct()

void __construct(Factory $factory, EngineInterface $engine, string $view, string $path, mixed $data = array()) Create a new view instance. Parameters Factory $factory EngineInterface $engine string $view string $path mixed $data Return Value void

View::__callStatic()

static mixed __callStatic(string $method, array $args) Handle dynamic, static calls to the object. Parameters string $method array $args Return Value mixed

View::__call()

View __call(string $method, array $parameters) Dynamically bind parameters to the view. Parameters string $method array $parameters Return Value View Exceptions BadMethodCallException

View::withErrors()

$this withErrors(MessageProvider|array $provider) Add validation errors to the view. Parameters MessageProvider|array $provider Return Value $this

View::with()

$this with(string|array $key, mixed $value = null) Add a piece of data to the view. Parameters string|array $key mixed $value Return Value $this

View::with()

$this with(string|array $key, mixed $value = null) Add a piece of data to the view. Parameters string|array $key mixed $value Return Value $this

View::swap()

static void swap(mixed $instance) Hotswap the underlying instance behind the facade. Parameters mixed $instance Return Value void

View::shouldReceive()

static Expectation shouldReceive() Initiate a mock expectation on the facade. Return Value Expectation

View::setPath()

void setPath(string $path) Set the path to the view. Parameters string $path Return Value void

View::setFacadeApplication()

static void setFacadeApplication(Application $app) Set the application instance. Parameters Application $app Return Value void