public function __get($name)
{
switch ($name) {
case 'settings':
if (empty($this->_settings)) {
$this->_settings = new SettingsCollection('Scalr\\Tests\\Fixtures\\Model\\Entity\\TestEntitySetting', [['testEntityId' => &$this->id]], ['testEntityId' => &$this->id]);
}
return $this->_settings;
default:
return parent::__get($name);
}
}