|
@@ 416-419 (lines=4) @@
|
| 413 |
|
|
| 414 |
|
// If set in the seeder specific configuration, use that value |
| 415 |
|
$localeConfigKey = sprintf('%s.%s', $this->_getSeederConfigKey(), $configKey); |
| 416 |
|
if (Configure::check($localeConfigKey)) { |
| 417 |
|
$this->out(__('Parameter "%s" configured in seeder specific configuration: "%s"', $configKey, Configure::read($localeConfigKey)), 1, Shell::VERBOSE); |
| 418 |
|
return Configure::read($localeConfigKey); |
| 419 |
|
} |
| 420 |
|
|
| 421 |
|
// If set in the general FakeSeeder configuration, use that value |
| 422 |
|
$localeConfigKey = sprintf('%s.%s', $this->_getSeederShellName(), $configKey); |
|
@@ 423-426 (lines=4) @@
|
| 420 |
|
|
| 421 |
|
// If set in the general FakeSeeder configuration, use that value |
| 422 |
|
$localeConfigKey = sprintf('%s.%s', $this->_getSeederShellName(), $configKey); |
| 423 |
|
if (Configure::check($localeConfigKey)) { |
| 424 |
|
$this->out(__('Parameter "%s" configured in general seeder configuration: "%s"', $configKey, Configure::read($localeConfigKey)), 1, Shell::VERBOSE); |
| 425 |
|
return Configure::read($localeConfigKey); |
| 426 |
|
} |
| 427 |
|
|
| 428 |
|
// If set in the seeder class, use that value |
| 429 |
|
if ($this->{$propertyName}) { |