/** * Build the array for the 'aLengthMenu' option * * @return array */ protected function renderLengthMenu() { return new ArrayList([array_keys($this->config->getLengthMenu()->toArray()), $this->config->getLengthMenu()->values()]); }