protected function renderToolbarElements($tasks) { foreach ($tasks as $task) { $this->renderToolbarElement($task); } }