Illuminate\Routing\Redirector::home PHP Méthode

home() public méthode

Create a new redirect response to the "home" route.
public home ( integer $status = 302 ) : Illuminate\Http\RedirectResponse
$status integer
Résultat Illuminate\Http\RedirectResponse
    public function home($status = 302)
    {
        return $this->to($this->generator->route('home'), $status);
    }

Usage Example

Exemple #1
0
 /**
  * Create a new redirect response to the "home" route.
  *
  * @param int $status
  * @return \Illuminate\Http\RedirectResponse 
  * @static 
  */
 public static function home($status = 302)
 {
     return \Illuminate\Routing\Redirector::home($status);
 }