PHP Class AppserverIo\Appserver\Provisioning\StandardProvisioner

Inheritance: extends AbstractProvisioner
Show file Open project: appserver-io/appserver

Public Methods

Method Description
getAbsolutPathToPhpExecutable ( ) : string Returns the absolute path to the appservers PHP executable.
provision ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void Provisions all web applications.

Protected Methods

Method Description
executeProvision ( AppserverIo\Psr\Application\ApplicationInterface $application, ProvisionNode $provisionNode, SplFileInfo $webappPath ) : void Executes the passed applications provisioning workflow.

Method Details

executeProvision() protected method

Executes the passed applications provisioning workflow.
protected executeProvision ( AppserverIo\Psr\Application\ApplicationInterface $application, ProvisionNode $provisionNode, SplFileInfo $webappPath ) : void
$application AppserverIo\Psr\Application\ApplicationInterface The application instance
$provisionNode AppserverIo\Appserver\Core\Api\Node\ProvisionNode The file with the provisioning information
$webappPath SplFileInfo The path to the webapp folder
return void

getAbsolutPathToPhpExecutable() public method

Returns the absolute path to the appservers PHP executable.
public getAbsolutPathToPhpExecutable ( ) : string
return string The absolute path to the appserver PHP executable

provision() public method

Provisions all web applications.
public provision ( AppserverIo\Psr\Application\ApplicationInterface $application ) : void
$application AppserverIo\Psr\Application\ApplicationInterface The application instance
return void