PHP Class App\Services\Deployment\DeployerDeploymentFileBuilder

Inheritance: implements App\Services\Deployment\DeployerFileBuilderInterface
ファイルを表示 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_oe property

protected $deployerFile

$fs protected_oe property

protected $fs

$project protected_oe property

protected $project

$recipeFile protected_oe property

protected $recipeFile

$serverListFile protected_oe property

protected $serverListFile