: class BaseController extends Controller {   protected $baseClass;   protected $baseResourceClass;    public function index()   {      $items = $baseClass::paginate(00);      return $baseResourceClass::collection($items);   }    