private function checkIncludeJavascript() {
        $request = $this->requestStack->getCurrentRequest();
        $rtn = !$request->attributes->has($this::JS_INCLUDE_KEY);
        if (!$rtn) {
            $request->attributes->set($this::JS_INCLUDE_KEY, true);
        }
        return $rtn;
    }
private function checkIncludeJavascript() {
        $request = $this->requestStack->getCurrentRequest();
        $rtn = !$request->attributes->has($this::JS_INCLUDE_KEY);
        if (!$rtn) {
            $request->attributes->set($this::JS_INCLUDE_KEY, true);
        }
        return $rtn;
    }
private function checkIncludeJavascript ( ) { $ request = $ this -> requestStack -> getCurrentRequest ( ) ; $ rtn = ! $ request -> attributes -> has ( $ this :: JS_INCLUDE_KEY ) ; if ( ! $ rtn ) { $ request -> attributes -> set ( $ this :: JS_INCLUDE_KEY , true ) ; } return $ rtn ; }
Determines whether we have to include the javascript files.
Determines whether we have to include the javascript files .