public function add() { // Get the task to be added $listItem = $this->getTask(); // Add the new item $item = new Item(); $item->createNew($listItem); return redirect()->back(); }