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 Illuminate\Foundation\Testing; use Exception; trait WithoutMiddleware {..
Decoded Output download
<?php
namespace Illuminate\Foundation\Testing;
use Exception;
trait WithoutMiddleware
{
/**
* Prevent all middleware from being executed for this test class.
*
* @throws \Exception
*/
public function disableMiddlewareForAllTests()
{
if (method_exists($this, 'withoutMiddleware')) {
$this->withoutMiddleware();
} else {
throw new Exception('Unable to disable middleware. MakesHttpRequests trait not used.');
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Illuminate\Foundation\Testing;
use Exception;
trait WithoutMiddleware
{
/**
* Prevent all middleware from being executed for this test class.
*
* @throws \Exception
*/
public function disableMiddlewareForAllTests()
{
if (method_exists($this, 'withoutMiddleware')) {
$this->withoutMiddleware();
} else {
throw new Exception('Unable to disable middleware. MakesHttpRequests trait not used.');
}
}
}
Function Calls
| None |
Stats
| MD5 | 46cb6eed4801fb4dbb4987d686aa611f |
| Eval Count | 0 |
| Decode Time | 101 ms |