PHP Class App\Services\Deployment\DeployerServerListFileBuilder

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

Protected Properties

Property Type Description
$deployerFile
$fs
$project
$server
$yamlDumper
$yamlParser

Public Methods

Method Description
__construct ( App\Services\Filesystem\FilesystemInterface $fs, DeployerFile $deployerFile, Parser $parser, Symfony\Component\Yaml\Dumper $dumper )
__destruct ( )
getResult ( ) : DeployerFile Get a server list file instance.
pathInfo ( ) : App\Services\ServerList\DeployerServerListFileBuilder Set a server list file path info.
put ( ) : App\Services\ServerList\DeployerServerListFileBuilder Put a server list file.
setProject ( Model $project ) : App\Services\ServerList\DeployerServerListFileBuilder Set a project model instance.
setServer ( Model $server ) : App\Services\ServerList\DeployerServerListFileBuilder Set a server model instance.

Method Details

__construct() public method

public __construct ( App\Services\Filesystem\FilesystemInterface $fs, DeployerFile $deployerFile, Parser $parser, Symfony\Component\Yaml\Dumper $dumper )
$fs App\Services\Filesystem\FilesystemInterface
$deployerFile DeployerFile
$parser Symfony\Component\Yaml\Parser
$dumper Symfony\Component\Yaml\Dumper

__destruct() public method

public __destruct ( )

getResult() public method

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

pathInfo() public method

Set a server list file path info.
public pathInfo ( ) : App\Services\ServerList\DeployerServerListFileBuilder
return App\Services\ServerList\DeployerServerListFileBuilder $this

put() public method

Put a server list file.
public put ( ) : App\Services\ServerList\DeployerServerListFileBuilder
return App\Services\ServerList\DeployerServerListFileBuilder $this

setProject() public method

Set a project model instance.
public setProject ( Model $project ) : App\Services\ServerList\DeployerServerListFileBuilder
$project Illuminate\Database\Eloquent\Model
return App\Services\ServerList\DeployerServerListFileBuilder $this

setServer() public method

Set a server model instance.
public setServer ( Model $server ) : App\Services\ServerList\DeployerServerListFileBuilder
$server Illuminate\Database\Eloquent\Model
return App\Services\ServerList\DeployerServerListFileBuilder $this

Property Details

$deployerFile protected property

protected $deployerFile

$fs protected property

protected $fs

$project protected property

protected $project

$server protected property

protected $server

$yamlDumper protected property

protected $yamlDumper

$yamlParser protected property

protected $yamlParser