src/includes/speed-trap-listener.php
protected function loadOptions(array $options)
    {
        $this->slowThreshold = isset($options['slowThreshold']) ? $options['slowThreshold'] : 500;
        $this->reportLength = isset($options['reportLength']) ? $options['reportLength'] : 10;
    }
protected function loadOptions(array $options)
    {
        $this->slowThreshold = isset($options['slowThreshold']) ? $options['slowThreshold'] : 500;
        $this->reportLength = isset($options['reportLength']) ? $options['reportLength'] : 10;
    }
protected function loadOptions ( array $ options ) { $ this -> slowThreshold = isset ( $ options [ 'slowThreshold' ] ) ? $ options [ 'slowThreshold' ] : 500 ; $ this -> reportLength = isset ( $ options [ 'reportLength' ] ) ? $ options [ 'reportLength' ] : 10 ; }
Populate options into class internals.

@param array $options
Populate options into class internals .