PHP Class App\Services\Deployment\DeployerDeploymentFileBuilder

Inheritance: implements App\Services\Deployment\DeployerFileBuilderInterface
Show file Open project: ngmy/webloyer Class Usage Examples

Protected Properties

Property Type Description
$deployerFile
$fs
$project
$recipeFile
$serverListFile

Public Methods

Method Description
__construct ( App\Services\Filesystem\FilesystemInterface $fs, DeployerFile $deployerFile )
__destruct ( )
getResult ( ) : DeployerFile Get a deployment file instance.
pathInfo ( ) : DeployerDeploymentFileBuilder Set a deployment file path info.
put ( ) : DeployerDeploymentFileBuilder Put a deployment file.
setProject ( Model $project ) : DeployerDeploymentFileBuilder Set a project model instance.
setRecipeFile ( array $recipeFile ) : DeployerDeploymentFileBuilder Set recipe file instances.
setServerListFile ( DeployerFile $serverListFile ) : DeployerDeploymentFileBuilder Set a server list file instance.

Method Details

__construct() public method

public __construct ( App\Services\Filesystem\FilesystemInterface $fs, DeployerFile $deployerFile )
$fs App\Services\Filesystem\FilesystemInterface
$deployerFile DeployerFile

__destruct() public method

public __destruct ( )

getResult() public method

Get a deployment file instance.
public getResult ( ) : DeployerFile
return DeployerFile

pathInfo() public method

Set a deployment file path info.
public pathInfo ( ) : DeployerDeploymentFileBuilder
return DeployerDeploymentFileBuilder $this

put() public method

Put a deployment file.
public put ( ) : DeployerDeploymentFileBuilder
return DeployerDeploymentFileBuilder $this

setProject() public method

Set a project model instance.
public setProject ( Model $project ) : DeployerDeploymentFileBuilder
$project Illuminate\Database\Eloquent\Model
return DeployerDeploymentFileBuilder $this

setRecipeFile() public method

Set recipe file instances.
public setRecipeFile ( array $recipeFile ) : DeployerDeploymentFileBuilder
$recipeFile array
return DeployerDeploymentFileBuilder $this

setServerListFile() public method

Set a server list file instance.
public setServerListFile ( DeployerFile $serverListFile ) : DeployerDeploymentFileBuilder
$serverListFile DeployerFile
return DeployerDeploymentFileBuilder $this

Property Details

$deployerFile protected property

protected $deployerFile

$fs protected property

protected $fs

$project protected property

protected $project

$recipeFile protected property

protected $recipeFile

$serverListFile protected property

protected $serverListFile