Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

Tell us what’s happening:

how to get VacancyService to work Laravel says Vacancy service does not exist and undefined variable $review<?php

namespace App\Http\Controllers;

use App\Services\ReviewService; // Add this line
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Gate;
use App\Models\Review;

class ReviewController extends Controller
{
protected $reviewService;

public function __construct(ReviewService $reviewService)
{
    $this->reviewService = $reviewService;
}

public function store(Request $request, $id)
{
    $data = $request->validate(

Your code so far


// User Editable Region

let char hh


bbbbbbbbbbbbbbbbbbbb
      

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0

Challenge Information:

Learn Introductory JavaScript by Building a Pyramid Generator - Step 2

are you asking for help for the step 2 of the pyramid generator, or not?

if not, you may want to edit your post and title to make it clear

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.