original_string: protected function configureEndpoint(EndpointInterface $Endpoint, $action)
      {
          switch ($action) {
              case self::ACTION_AUTH:
                  $Endpoint = $this->configureAuthenticationEndpoint($Endpoint);
                  break;
              case self::ACTION_LOGOUT:
                  $Endpoint = $this->configureLogoutEndpoint($Endpoint);
                  break;
          }
          return $Endpoint;
      }
code: protected function configureEndpoint(EndpointInterface $Endpoint, $action)
      {
          switch ($action) {
              case self::ACTION_AUTH:
                  $Endpoint = $this->configureAuthenticationEndpoint($Endpoint);
                  break;
              case self::ACTION_LOGOUT:
                  $Endpoint = $this->configureLogoutEndpoint($Endpoint);
                  break;
          }
          return $Endpoint;
      }
code_tokens: protected function configureEndpoint ( EndpointInterface $ Endpoint , $ action ) { switch ( $ action ) { case self :: ACTION_AUTH : $ Endpoint = $ this -> configureAuthenticationEndpoint ( $ Endpoint ) ; break ; case self :: ACTION_LOGOUT : $ Endpoint = $ this -> configureLogoutEndpoint ( $ Endpoint ) ; break ; } return $ Endpoint ; }
docstring: Configure an actions Endpoint Object
  @param EndpointInterface $Endpoint
  @param string $action
  @return EndpointInterface
docstring_tokens: Configure an actions Endpoint Object