@@ 467-467 (lines=1) @@ | ||
464 | }) |
|
465 | ->end() |
|
466 | ->validate() |
|
467 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); }) |
|
468 | ->thenInvalid('Propel doesn\'t support listeners') |
|
469 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); }) |
|
470 | ->thenInvalid('Propel doesn\'t support the "repository" parameter') |
|
@@ 469-469 (lines=1) @@ | ||
466 | ->validate() |
|
467 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['listener']); }) |
|
468 | ->thenInvalid('Propel doesn\'t support listeners') |
|
469 | ->ifTrue(function ($v) { return isset($v['driver']) && 'propel' === $v['driver'] && isset($v['repository']); }) |
|
470 | ->thenInvalid('Propel doesn\'t support the "repository" parameter') |
|
471 | ->ifTrue(function($v) { return isset($v['driver']) && 'orm' !== $v['driver'] && !empty($v['elastica_to_model_transformer']['hints']); }) |
|
472 | ->thenInvalid('Hints are only supported by the "orm" driver') |