PHP Class Phalcon\Build\Generator_File_ConfigM4

Show file Open project: phalcon/cphalcon

Protected Properties

Property Type Description
$outputFile string Path of generated config.m4 file
$sourceFile string Path of original config.m4, which will be used to generate build config.m4

Public Methods

Method Description
__construct ( string $rootDir, string $outputDir )
generate ( ) : boolean Create config.m4 from the original one, by leaving only "phalcon.c" among included source files

Method Details

__construct() public method

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

generate() public method

Create config.m4 from the original one, by leaving only "phalcon.c" among included source files
public generate ( ) : boolean
return boolean

Property Details

$outputFile protected property

Path of generated config.m4 file
protected string $outputFile
return string

$sourceFile protected property

Path of original config.m4, which will be used to generate build config.m4
protected string $sourceFile
return string