original_string: public function getPermissionPrefixForModuleKey($key)
      {
          if (starts_with($key, ModuleHelper::MODULE_PREFIX)) {
              $key = substr($key, strlen(ModuleHelper::MODULE_PREFIX));
          }
  
          return $this->getPermissionPrefixForModelSlug($key);
      }
code: public function getPermissionPrefixForModuleKey($key)
      {
          if (starts_with($key, ModuleHelper::MODULE_PREFIX)) {
              $key = substr($key, strlen(ModuleHelper::MODULE_PREFIX));
          }
  
          return $this->getPermissionPrefixForModelSlug($key);
      }
code_tokens: public function getPermissionPrefixForModuleKey ( $ key ) { if ( starts_with ( $ key , ModuleHelper :: MODULE_PREFIX ) ) { $ key = substr ( $ key , strlen ( ModuleHelper :: MODULE_PREFIX ) ) ; } return $ this -> getPermissionPrefixForModelSlug ( $ key ) ; }
docstring: Returns the full permission prefix for a model module's key.
  
  @param string $key    full module key to add to the prefix
  @return string
docstring_tokens: Returns the full permission prefix for a model module s key .