PHP Class Scalr\Model\Entity\FarmRoleSetting

Author: N.V.
Inheritance: extends Scalr\Model\Entity\Setting
Afficher le fichier Open project: scalr/scalr Class Usage Examples

Méthodes publiques

Свойство Type Description
$farmRoleId integer Farm role identifier
$type integer Configuration or Lifecycle setting type

Méthodes publiques

Méthode Description
fetch ( array | integer | string $farmRoleIds, array $settings = [] ) : FarmRoleSetting[] Fetch all or specified settings for certain farm role(s)
setType ( integer $type ) : FarmRoleSetting Sets property type

Method Details

fetch() public static méthode

Fetch all or specified settings for certain farm role(s)
public static fetch ( array | integer | string $farmRoleIds, array $settings = [] ) : FarmRoleSetting[]
$farmRoleIds array | integer | string Farm role identifier(s)
$settings array optional Property names to fetch
Résultat FarmRoleSetting[] Array of FarmRoleSetting

setType() public méthode

Sets property type
public setType ( integer $type ) : FarmRoleSetting
$type integer
Résultat FarmRoleSetting

Property Details

$farmRoleId public_oe property

Farm role identifier
public int $farmRoleId
Résultat integer

$type public_oe property

Configuration or Lifecycle setting type
public int $type
Résultat integer