classes/phing/parser/ProjectConfigurator.php
public static function configureProject(Project $project, PhingFile $buildFile): void
    {
        (new self($project, $buildFile))->parse();
    }
public static function configureProject(Project $project, PhingFile $buildFile): void
    {
        (new self($project, $buildFile))->parse();
    }
public static function configureProject ( Project $ project , PhingFile $ buildFile ) : void { ( new self ( $ project , $ buildFile ) ) -> parse ( ) ; }
Static call to ProjectConfigurator. Use this to configure a
project. Do not use the new operator.

@param Project $project the Project instance this configurator should use
@param PhingFile $buildFile the buildfile object the parser should use

@throws \IOException
@throws \BuildException
@throws NullPointerException
Static call to ProjectConfigurator . Use this to configure a project . Do not use the new operator .