Phalcon\Build\Generator_File_PhalconH::generate PHP 메소드

generate() 공개 메소드

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
리턴 array
    public function generate()
    {
        $fileHandle = fopen($this->outputFile, 'w');
        $includedHeaderFiles = $this->appendFileAndReferencedHeaders($fileHandle, $this->sourceDir . '/phalcon.h');
        fclose($fileHandle);
        $this->limitVisibilityOfPhalconFuncs();
        return $includedHeaderFiles;
    }