PHP Class Deployer\Cluster\Cluster

Author: Irfan Durmus (http://github.com/irfan) ([email protected])
Inheritance: implements Deployer\Cluster\ClusterInterface
Show file Open project: elfet/deployer

Protected Properties

Property Type Description
$clusterBuilder Deployer\Builder\BuilderInterface
$name string
$nodes array
$port string | integer

Public Methods

Method Description
__construct ( Deployer $deployer, string $name, array $nodes, integer $port )
getBuilder ( ) : Deployer\Builder\BuilderInterface
getNodes ( ) : array | Node[]

Method Details

__construct() public method

public __construct ( Deployer $deployer, string $name, array $nodes, integer $port )
$deployer Deployer\Deployer
$name string
$nodes array
$port integer

getBuilder() public method

public getBuilder ( ) : Deployer\Builder\BuilderInterface
return Deployer\Builder\BuilderInterface

getNodes() public method

public getNodes ( ) : array | Node[]
return array | Node[]

Property Details

$clusterBuilder protected property

protected BuilderInterface,Deployer\Builder $clusterBuilder
return Deployer\Builder\BuilderInterface

$name protected property

protected string $name
return string

$nodes protected property

protected array $nodes
return array

$port protected property

protected string|int $port
return string | integer