private function headers()
    {
        $headers = '';
        foreach (config('cors.headers') as $header) {
            $headers = $headers . $header . ', ';
        }
        header('Access-Control-Allow-Headers: ' . $headers);
    }
private function headers()
    {
        $headers = '';
        foreach (config('cors.headers') as $header) {
            $headers = $headers . $header . ', ';
        }
        header('Access-Control-Allow-Headers: ' . $headers);
    }
private function headers ( ) { $ headers = '' ; foreach ( config ( 'cors.headers' ) as $ header ) { $ headers = $ headers . $ header . ', ' ; } header ( 'Access-Control-Allow-Headers: ' . $ headers ) ; }
Set access control headers.
Set access control headers .