| Total Complexity | 5 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Coverage | 80% |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ShardingException extends DBALException |
||
| 13 | { |
||
| 14 | public static function notImplemented() : self |
||
| 15 | { |
||
| 16 | return new self('This functionality is not implemented with this sharding provider.', 1331557937); |
||
| 17 | } |
||
| 18 | |||
| 19 | 105 | public static function missingDefaultFederationName() : self |
|
| 20 | { |
||
| 21 | 105 | return new self('SQLAzure requires a federation name to be set during sharding configuration.', 1332141280); |
|
| 22 | } |
||
| 23 | |||
| 24 | 79 | public static function missingDefaultDistributionKey() : self |
|
| 25 | { |
||
| 26 | 79 | return new self('SQLAzure requires a distribution key to be set during sharding configuration.', 1332141329); |
|
| 27 | } |
||
| 28 | |||
| 29 | 54 | public static function activeTransaction() : self |
|
| 32 | } |
||
| 33 | |||
| 34 | 79 | public static function missingDistributionType() : self |
|
| 37 | } |
||
| 38 | } |
||
| 39 |