PHP Class App\Services\Deployment\DeployerRecipeFileBuilder

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

Protected Properties

Property Type Description
$deployerFile
$fs
$recipe

Public Methods

Method Description
__construct ( App\Services\Filesystem\FilesystemInterface $fs, DeployerFile $deployerFile )
__destruct ( )
getResult ( ) : DeployerFile Get a recipe file instance.
pathInfo ( ) : DeployerRecipeFileBuilder Set a recipe file path info.
put ( ) : DeployerRecipeFileBuilder Put a recipe file.
setRecipe ( Model $recipe ) : DeployerRecipeFileBuilder Set a recipe model 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 recipe file instance.
public getResult ( ) : DeployerFile
return DeployerFile

pathInfo() public method

Set a recipe file path info.
public pathInfo ( ) : DeployerRecipeFileBuilder
return DeployerRecipeFileBuilder $this

put() public method

Put a recipe file.
public put ( ) : DeployerRecipeFileBuilder
return DeployerRecipeFileBuilder $this

setRecipe() public method

Set a recipe model instance.
public setRecipe ( Model $recipe ) : DeployerRecipeFileBuilder
$recipe Illuminate\Database\Eloquent\Model
return DeployerRecipeFileBuilder $this

Property Details

$deployerFile protected property

protected $deployerFile

$fs protected property

protected $fs

$recipe protected property

protected $recipe