protected function getRangeLength() { if (!array_key_exists('rangeLength', $this->options)) { $this->options['rangeLength'] = 10; } return (int) $this->options['rangeLength']; }