Neos\Flow\Log\Backend\AbstractBackend::__construct PHP Метод

__construct() публичный Метод

Constructs this log backend
public __construct ( mixed $options = [] )
$options mixed Configuration options - depends on the actual backend
    public function __construct($options = [])
    {
        if (is_array($options) || $options instanceof \ArrayAccess) {
            foreach ($options as $optionKey => $optionValue) {
                $methodName = 'set' . ucfirst($optionKey);
                if (method_exists($this, $methodName)) {
                    $this->{$methodName}($optionValue);
                }
            }
        }
    }