protected function appendNextUrl(Request $request)
    {
        return !empty($request->getPathInfo()) && strpos($request->getPathInfo(), $this->loginPath) == false;
    }
protected function appendNextUrl(Request $request)
    {
        return !empty($request->getPathInfo()) && strpos($request->getPathInfo(), $this->loginPath) == false;
    }
protected function appendNextUrl ( Request $ request ) { return ! empty ( $ request -> getPathInfo ( ) ) && strpos ( $ request -> getPathInfo ( ) , $ this -> loginPath ) == false ; }
Returns true if next url should be appended

@param Request $request
@return bool
Returns true if next url should be appended