Phalcon\Build\Generator_File_PhalconH::generate PHP Method

generate() public method

Create phalcon.h by processing phalcon.h in sources directory: - Remove all extern declarations - Replace #include with the direct file content Return list of header files that are included in the generated phalcon.h
public generate ( ) : array
return array
    public function generate()
    {
        $fileHandle = fopen($this->outputFile, 'w');
        $includedHeaderFiles = $this->appendFileAndReferencedHeaders($fileHandle, $this->sourceDir . '/phalcon.h');
        fclose($fileHandle);
        $this->limitVisibilityOfPhalconFuncs();
        return $includedHeaderFiles;
    }