PHP Class Browscap\Generator\BuildCustomFileGenerator

Author: James Titcumb ([email protected])
Author: Thomas Müller ([email protected])
Inheritance: extends AbstractBuildGenerator
Show file Open project: browscap/browscap

Public Methods

Method Description
run ( string $version, array $fields = [], string | null $file = null, string $format = self::OUTPUT_FORMAT_PHP ) : BuildCustomFileGenerator Entry point for generating builds for a specified version

Protected Methods

Method Description
postBuild ( ) : BuildCustomFileGenerator runs after the build
preBuild ( array $fields = [], string | null $file = null, string $format = self::OUTPUT_FORMAT_PHP ) : BuildCustomFileGenerator runs before the build

Method Details

postBuild() protected method

runs after the build
protected postBuild ( ) : BuildCustomFileGenerator
return BuildCustomFileGenerator

preBuild() protected method

runs before the build
protected preBuild ( array $fields = [], string | null $file = null, string $format = self::OUTPUT_FORMAT_PHP ) : BuildCustomFileGenerator
$fields array
$file string | null
$format string
return BuildCustomFileGenerator

run() public method

Entry point for generating builds for a specified version
public run ( string $version, array $fields = [], string | null $file = null, string $format = self::OUTPUT_FORMAT_PHP ) : BuildCustomFileGenerator
$version string
$fields array
$file string | null
$format string
return BuildCustomFileGenerator