PHP Class Deployer\Cluster\ClusterFactory

Author: Irfan Durmus (http://github.com/irfan) ([email protected])
Exibir arquivo Open project: elfet/deployer Class Usage Examples

Public Methods

Method Description
create ( Deployer $deployer, string $name, array $nodes, integer $port = 22 ) : Cluster

Private Methods

Method Description
__construct ( ) This class should not be initialized, so set the __construct as private

Method Details

create() public static method

public static create ( Deployer $deployer, string $name, array $nodes, integer $port = 22 ) : Cluster
$deployer Deployer\Deployer
$name string
$nodes array
$port integer
return Cluster