| 1 | <?php |
||
| 18 | class RuleConfig implements \IteratorAggregate |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var array |
||
| 22 | */ |
||
| 23 | protected $rules; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * RuleConfig constructor. |
||
| 27 | * |
||
| 28 | * @param array $rules |
||
| 29 | */ |
||
| 30 | public function __construct(array $rules) |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return mixed|null |
||
| 37 | */ |
||
| 38 | 1 | public function getBodyRules() |
|
| 42 | |||
| 43 | /** |
||
| 44 | * @return mixed|null |
||
| 45 | */ |
||
| 46 | public function getDSNRules() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return array |
||
| 53 | */ |
||
| 54 | public function getEmailRules() |
||
| 58 | |||
| 59 | /** |
||
| 60 | * |
||
| 61 | * @return string|null |
||
| 62 | */ |
||
| 63 | public function getDiagnosticRegExp() |
||
| 67 | |||
| 68 | /** |
||
| 69 | * @return \ArrayIterator |
||
| 70 | */ |
||
| 71 | public function getIterator() |
||
| 75 | } |
||
| 76 |