Barryvdh\Cors\HandlePreflight::__construct PHP Method

__construct() public method

public __construct ( CorsService $cors, Router $router, Illuminate\Contracts\Http\Kernel $kernel )
$cors Barryvdh\Cors\Stack\CorsService
$router Illuminate\Routing\Router
$kernel Illuminate\Contracts\Http\Kernel
    public function __construct(CorsService $cors, Router $router, Kernel $kernel)
    {
        $this->cors = $cors;
        $this->router = $router;
        $this->kernel = $kernel;
    }