TYPO3 CMS  TYPO3_6-2
AbstractProcessor.php
Go to the documentation of this file.
1 <?php
3 
22 
29  public function __construct(array $options = array()) {
30  foreach ($options as $optionKey => $optionValue) {
31  $methodName = 'set' . ucfirst($optionKey);
32  if (method_exists($this, $methodName)) {
33  $this->{$methodName}($optionValue);
34  } else {
35  throw new \InvalidArgumentException('Invalid log processor option "' . $optionKey . '" for log processor of type "' . get_class($this) . '"', 1321696151);
36  }
37  }
38  }
39 
40 }