PHP Class Phalcon\Build\Generator_Safe

Show file Open project: phalcon/cphalcon

Protected Properties

Property Type Description
$configM4 Generator_File_ConfigM4 Generator for config.m4
$configW32 Generator_File_ConfigW32 Generator for config.w32
$makefileFrag Phalcon\Build\Generator_File_MakefileFrag Generator for Makefile.frag
$outputDir string Directory, where source code for building Phalcon will be put
$phalconC Generator_File_PhalconC Generator for phalcon.c
$phalconH Generator_File_PhalconH Generator for phalcon.h
$sourceDir string Directory with Phalcon source code

Public Methods

Method Description
__construct ( string $rootDir, string $outputDir )
run ( ) Generator source code, from which Phalcon extension can be built

Protected Methods

Method Description
generateFiles ( ) Generate all the files in the output directory
processKernelGlobals ( ) Resolves headers in the php_phalcon.h file

Method Details

__construct() public method

public __construct ( string $rootDir, string $outputDir )
$rootDir string
$outputDir string

generateFiles() protected method

Generate all the files in the output directory
protected generateFiles ( )

processKernelGlobals() protected method

Resolves headers in the php_phalcon.h file
protected processKernelGlobals ( )

run() public method

Generator source code, from which Phalcon extension can be built
public run ( )

Property Details

$configM4 protected property

Generator for config.m4
protected Generator_File_ConfigM4,Phalcon\Build $configM4
return Generator_File_ConfigM4

$configW32 protected property

Generator for config.w32
protected Generator_File_ConfigW32,Phalcon\Build $configW32
return Generator_File_ConfigW32

$makefileFrag protected property

Generator for Makefile.frag
protected Generator_File_MakefileFrag,Phalcon\Build $makefileFrag
return Phalcon\Build\Generator_File_MakefileFrag

$outputDir protected property

Directory, where source code for building Phalcon will be put
protected string $outputDir
return string

$phalconC protected property

Generator for phalcon.c
protected Generator_File_PhalconC,Phalcon\Build $phalconC
return Generator_File_PhalconC

$phalconH protected property

Generator for phalcon.h
protected Generator_File_PhalconH,Phalcon\Build $phalconH
return Generator_File_PhalconH

$sourceDir protected property

Directory with Phalcon source code
protected string $sourceDir
return string