public function addHeaderInclude($path)
    {
        $path = trim($path);
        if (strlen($path)) {
            $absPath = GeneralUtility::getFileAbsFileName($path);
            if (is_file($absPath)) {
                $include                                            = file_get_contents($absPath);
                $this->headerIncludes[self::hashResource($include)] = $include;
            }
        }
    }
public function addHeaderInclude($path)
    {
        $path = trim($path);
        if (strlen($path)) {
            $absPath = GeneralUtility::getFileAbsFileName($path);
            if (is_file($absPath)) {
                $include                                            = file_get_contents($absPath);
                $this->headerIncludes[self::hashResource($include)] = $include;
            }
        }
    }
public function addHeaderInclude ( $ path ) { $ path = trim ( $ path ) ; if ( strlen ( $ path ) ) { $ absPath = GeneralUtility :: getFileAbsFileName ( $ path ) ; if ( is_file ( $ absPath ) ) { $ include = file_get_contents ( $ absPath ) ; $ this -> headerIncludes [ self :: hashResource ( $ include ) ] = $ include ; } } }
Add a header inclusion resource

@param string $path Header inclusion path
Add a header inclusion resource