public function evaluate()
    {

        $httpRequest = Request::createFromEnvironment();

        /** @var UserInterfaceMode $mode */
        $mode = $this->interfaceRenderModeService->findModeByCurrentUser();

        /** @var integer $renderMode */
        $renderMode = 0;

        switch (true) {
            case $mode->getName() === 'wireframe' || $httpRequest->getArgument('wireframeMode') == '1' :
                $renderMode = 1;
                break;
            case $httpRequest->getArgument('wireframeMode') == '2' :
                $renderMode = 2;
                break;
        }

        return $renderMode;
    }