original_string: public function checkGroup($groupCode)
      {
          /** @var SecurityContext $securityContext */
          $securityContext = $this->container->get('thelia.securityContext');
  
          return $securityContext->hasCustomerUser() && $this->getGroupCode() === $groupCode;
      }
code: public function checkGroup($groupCode)
      {
          /** @var SecurityContext $securityContext */
          $securityContext = $this->container->get('thelia.securityContext');
  
          return $securityContext->hasCustomerUser() && $this->getGroupCode() === $groupCode;
      }
code_tokens: public function checkGroup ( $ groupCode ) { /** @var SecurityContext $securityContext */ $ securityContext = $ this -> container -> get ( 'thelia.securityContext' ) ; return $ securityContext -> hasCustomerUser ( ) && $ this -> getGroupCode ( ) === $ groupCode ; }
docstring: Check if the current customer is in the asked group
  
  @param string $groupCode Code for the group to check
  
  @return boolean
  
  @uses getGroupCode()
docstring_tokens: Check if the current customer is in the asked group