original_string: public function evaluate()
      {
          $node = $this->getNode();
          if ($node instanceof NodeInterface) {
              $contentContext = $node->getContext();
              if ($contentContext instanceof \Neos\Neos\Domain\Service\ContentContext) {
                  $site = $contentContext->getCurrentSite();
                  $siteConfiguration = $this->siteConfigurationRepository->findOneBySite($site);
  
                  return $siteConfiguration;
              }
          }
  
          return null;
      }
code: public function evaluate()
      {
          $node = $this->getNode();
          if ($node instanceof NodeInterface) {
              $contentContext = $node->getContext();
              if ($contentContext instanceof \Neos\Neos\Domain\Service\ContentContext) {
                  $site = $contentContext->getCurrentSite();
                  $siteConfiguration = $this->siteConfigurationRepository->findOneBySite($site);
  
                  return $siteConfiguration;
              }
          }
  
          return null;
      }
code_tokens: public function evaluate ( ) { $ node = $ this -> getNode ( ) ; if ( $ node instanceof NodeInterface ) { $ contentContext = $ node -> getContext ( ) ; if ( $ contentContext instanceof \ Neos \ Neos \ Domain \ Service \ ContentContext ) { $ site = $ contentContext -> getCurrentSite ( ) ; $ siteConfiguration = $ this -> siteConfigurationRepository -> findOneBySite ( $ site ) ; return $ siteConfiguration ; } } return null ; }
docstring: Find a SiteConfiguration entity for the current site
  
  @return \Neos\GoogleAnalytics\Domain\Model\SiteConfiguration
docstring_tokens: Find a SiteConfiguration entity for the current site