original_string: public function addFooterInclude($path)
      {
          $path = trim($path);
          if (strlen($path)) {
              $absPath = GeneralUtility::getFileAbsFileName($path);
              if (is_file($absPath)) {
                  $include                                            = file_get_contents($absPath);
                  $this->footerIncludes[self::hashResource($include)] = $include;
              }
          }
      }
code: public function addFooterInclude($path)
      {
          $path = trim($path);
          if (strlen($path)) {
              $absPath = GeneralUtility::getFileAbsFileName($path);
              if (is_file($absPath)) {
                  $include                                            = file_get_contents($absPath);
                  $this->footerIncludes[self::hashResource($include)] = $include;
              }
          }
      }
code_tokens: public function addFooterInclude ( $ path ) { $ path = trim ( $ path ) ; if ( strlen ( $ path ) ) { $ absPath = GeneralUtility :: getFileAbsFileName ( $ path ) ; if ( is_file ( $ absPath ) ) { $ include = file_get_contents ( $ absPath ) ; $ this -> footerIncludes [ self :: hashResource ( $ include ) ] = $ include ; } } }
docstring: Add a footer inclusion resource
  
  @param string $path Footer inclusion path
docstring_tokens: Add a footer inclusion resource