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;
            }
        }
    }
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;
            }
        }
    }
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 ; } } }
Add a footer inclusion resource

@param string $path Footer inclusion path
Add a footer inclusion resource