PHP Class App\Services\Deployment\DeployerServerListFileBuilder

Inheritance: implements App\Services\Deployment\DeployerFileBuilderInterface
显示文件 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_oe property

protected $deployerFile

$fs protected_oe property

protected $fs

$project protected_oe property

protected $project

$server protected_oe property

protected $server

$yamlDumper protected_oe property

protected $yamlDumper

$yamlParser protected_oe property

protected $yamlParser