src/package/Data/Repositories/Support/Helpers.php
public function getJavascriptClientData()
    {
        $data = [
            'routes' => [
                'prefixes' => config('tddd.routes.prefixes'),
            ],

            'project_id' => request()->get('project_id'),

            'test_id' => request()->get('test_id'),

            'root' => config('tddd.root'),
        ];

        return json_encode($data);
    }
public function getJavascriptClientData()
    {
        $data = [
            'routes' => [
                'prefixes' => config('tddd.routes.prefixes'),
            ],

            'project_id' => request()->get('project_id'),

            'test_id' => request()->get('test_id'),

            'root' => config('tddd.root'),
        ];

        return json_encode($data);
    }
public function getJavascriptClientData ( ) { $ data = [ 'routes' => [ 'prefixes' => config ( 'tddd.routes.prefixes' ) , ] , 'project_id' => request ( ) -> get ( 'project_id' ) , 'test_id' => request ( ) -> get ( 'test_id' ) , 'root' => config ( 'tddd.root' ) , ] ; return json_encode ( $ data ) ; }
Generates data for the javascript client.
Generates data for the javascript client .