@@ 408-408 (lines=1) @@ | ||
405 | }) |
|
406 | ->end() |
|
407 | ->validate() |
|
408 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); }) |
|
409 | ->thenInvalid('Propel doesn\'t support listeners') |
|
410 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); }) |
|
411 | ->thenInvalid('Propel doesn\'t support the "repository" parameter') |
|
@@ 410-410 (lines=1) @@ | ||
407 | ->validate() |
|
408 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); }) |
|
409 | ->thenInvalid('Propel doesn\'t support listeners') |
|
410 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); }) |
|
411 | ->thenInvalid('Propel doesn\'t support the "repository" parameter') |
|
412 | ->ifTrue(function($v) { return isset($v['driver']) && 'orm' !== $v['driver'] && !empty($v['elastica_to_model_transformer']['hints']); }) |
|
413 | ->thenInvalid('Hints are only supported by the "orm" driver') |