@@ 427-427 (lines=1) @@ | ||
424 | }) |
|
425 | ->end() |
|
426 | ->validate() |
|
427 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); }) |
|
428 | ->thenInvalid('Propel doesn\'t support listeners') |
|
429 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); }) |
|
430 | ->thenInvalid('Propel doesn\'t support the "repository" parameter') |
|
@@ 429-429 (lines=1) @@ | ||
426 | ->validate() |
|
427 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); }) |
|
428 | ->thenInvalid('Propel doesn\'t support listeners') |
|
429 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); }) |
|
430 | ->thenInvalid('Propel doesn\'t support the "repository" parameter') |
|
431 | ->ifTrue(function($v) { return isset($v['driver']) && 'orm' !== $v['driver'] && !empty($v['elastica_to_model_transformer']['hints']); }) |
|
432 | ->thenInvalid('Hints are only supported by the "orm" driver') |