Conditions | 3 |
Paths | 3 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | public function options ( array $options ) |
||
20 | { |
||
21 | foreach ( $options as $optionName => $optionValue ) { |
||
22 | $camelCaseOptionName = $this->textToCamelCase( $optionName ); |
||
23 | |||
24 | if ( in_array( $camelCaseOptionName, $this->availableOptions ) ) { |
||
25 | $this->$camelCaseOptionName = $optionValue; |
||
26 | } |
||
54 |