PHP Class Indatus\Ranger\ContentType\HtmlView\ViewManager

Mostrar archivo Open project: indatus/ranger

Public Methods

Method Description
__construct ( Illuminate\View\Environment $view, Redirector $redirect )
goToView ( $route, $parentAssociation, $additionalAssigns, $content )
handleRedirect ( $route, $parentAssociation, integer $id = null, $responseCode ) : Redirect Function to handle redirection of regular and also nested resource routes.

Method Details

__construct() public method

public __construct ( Illuminate\View\Environment $view, Redirector $redirect )
$view Illuminate\View\Environment
$redirect Illuminate\Routing\Redirector

goToView() public method

public goToView ( $route, $parentAssociation, $additionalAssigns, $content )

handleRedirect() public method

Function to handle redirection of regular and also nested resource routes.
public handleRedirect ( $route, $parentAssociation, integer $id = null, $responseCode ) : Redirect
$id integer The id for the route
return Redirect