PHP Class Scalr\Model\Entity\FarmRoleSetting

Author: N.V.
Inheritance: extends Scalr\Model\Entity\Setting
显示文件 Open project: scalr/scalr Class Usage Examples

Public Properties

Property Type Description
$farmRoleId integer Farm role identifier
$type integer Configuration or Lifecycle setting type

Public Methods

Method 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 method

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
return FarmRoleSetting[] Array of FarmRoleSetting

setType() public method

Sets property type
public setType ( integer $type ) : FarmRoleSetting
$type integer
return FarmRoleSetting

Property Details

$farmRoleId public_oe property

Farm role identifier
public int $farmRoleId
return integer

$type public_oe property

Configuration or Lifecycle setting type
public int $type
return integer