protected function Provision_ShellCommand::setProperty in Aegir Objects 7.3
1 call to Provision_ShellCommand::setProperty()
- Provision_ShellCommand::__construct in drush/
Provision/ ShellCommand.php - Initialize properties from the current Aegir context.
File
- drush/
Provision/ ShellCommand.php, line 20
Class
Code
protected function setProperty($property) {
$context_property_name = $this->context_prefix . $property;
$context_property = d()->{$context_property_name};
if (is_null($context_property)) {
return $this
->notice(dt('Skipping unset context property: ') . $context_property_name);
}
$this->{$property} = $context_property;
}