My bootstrap file contained procedural code, but after stumbling upon this answer this answer I tried to make my bootstrap object oriented.
My bootstrap file contained procedural code, but after stumbling upon this answer I tried to make my bootstrap object oriented.
My bootstrap file contained procedural code, but after stumbling upon this answer I tried to make my bootstrap object oriented.
This is my attempt so far, and I have a feeling that I'm failing at it. I also know that some parts are not really working, but it's aboutbecause usually with procedural code the concept behind itchanges are made globally and not within a class' scope. I do notdon't know yet how I can do things within a class soachieve that they are being affected globally. Also the methods would have to be performed in order.
This is my attempt so far, and I have a feeling that I'm failing at it. I also know that some parts are not really working, but it's about the concept behind it. I do not know yet how I can do things within a class so that they are being affected globally.
This is my attempt so far, and I have a feeling that I'm failing at it. I also know that some parts are not really working, because usually with procedural code the changes are made globally and not within a class' scope. I don't know how I can achieve that. Also the methods would have to be performed in order.