Sindbad~EG File Manager

Current Path : /var/www/html/eva.sumar.com.py/vendor/livewire/livewire/src/
Upload File :
Current File : /var/www/html/eva.sumar.com.py/vendor/livewire/livewire/src/Redirector.php

<?php

namespace Livewire;

use Illuminate\Routing\Redirector as BaseRedirector;

class Redirector extends BaseRedirector
{
    public function to($path, $status = 302, $headers = [], $secure = null)
    {
        $this->component->redirect($this->generator->to($path, [], $secure));

        return $this;
    }

    public function away($path, $status = 302, $headers = [])
    {
        return $this->to($path, $status, $headers);
    }

    public function component(Component $component)
    {
        $this->component = $component;

        return $this;
    }

    public function response($to)
    {
        return $this->createRedirect($to, 302, []);
    }
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists