Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace Livewire\Features\SupportConsoleCommands\Tests; use Illuminate\Support\F..

Decoded Output download

<?php

namespace Livewire\Features\SupportConsoleCommands\Tests;

use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Artisan;

class LayoutCommandUnitTest extends \Tests\TestCase
{
    public function test_layout_is_created_by_layout_command()
    {
        Artisan::call('livewire:layout');

        $this->assertTrue(File::exists($this->livewireLayoutsPath('app.blade.php')));
    }

    protected function livewireLayoutsPath($path = '')
    {
        return resource_path('views').'/components/layouts'.($path ? '/'.$path : '');
    }
}
 ?>

Did this file decode correctly?

Original Code

<?php

namespace Livewire\Features\SupportConsoleCommands\Tests;

use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Artisan;

class LayoutCommandUnitTest extends \Tests\TestCase
{
    public function test_layout_is_created_by_layout_command()
    {
        Artisan::call('livewire:layout');

        $this->assertTrue(File::exists($this->livewireLayoutsPath('app.blade.php')));
    }

    protected function livewireLayoutsPath($path = '')
    {
        return resource_path('views').'/components/layouts'.($path ? '/'.$path : '');
    }
}

Function Calls

None

Variables

None

Stats

MD5 f86c8160655296d3099b9077c0a9a6c7
Eval Count 0
Decode Time 91 ms