src/RunOpenCode/Bundle/DoctrineNamingStrategy/NamingStrategy/UnderscoredBundleNamePrefix.php 1 location
|
@@ 38-40 (lines=3) @@
|
| 35 |
|
'joinTableFieldSuffix' => true |
| 36 |
|
), $configuration); |
| 37 |
|
|
| 38 |
|
if (count($configuration['whitelist']) > 0 && count($configuration['blacklist']) > 0) { |
| 39 |
|
throw new \RuntimeException('You can use whitelist or blacklist or none of mentioned lists, but not booth.'); |
| 40 |
|
} |
| 41 |
|
|
| 42 |
|
parent::__construct($configuration['case']); |
| 43 |
|
$this->buildMap($kernel, $configuration); |
src/RunOpenCode/Bundle/DoctrineNamingStrategy/NamingStrategy/UnderscoredClassNamespacePrefix.php 1 location
|
@@ 46-48 (lines=3) @@
|
| 43 |
|
'joinTableFieldSuffix' => true |
| 44 |
|
), $configuration); |
| 45 |
|
|
| 46 |
|
if (count($configuration['whitelist']) > 0 && count($configuration['blacklist']) > 0) { |
| 47 |
|
throw new \RuntimeException('You can use whitelist or blacklist or none of mentioned lists, but not booth.'); |
| 48 |
|
} |
| 49 |
|
|
| 50 |
|
$this->map = $configuration['map']; |
| 51 |
|
$this->blacklist = $configuration['blacklist']; |