How to call a class?

Hi. Writing a library for VC, and then the question arose.

I want to make it a regular class for working with messages, and an additional class for working with images.
Actually, what class should I call?

It seems to me that if I want to call VK_Image, and will be called VK (that makes sense rofl), but VK_Image not have a constructor. And yet, if I call the class VK, it will pull the VK_Image?

April 19th 20 at 12:45
2 answers
April 19th 20 at 12:47
In VK_Image has a constructor
April 19th 20 at 12:49
If I understand correctly, vk_image based on class vk. For class vk child class vk_image not "pulled". On the contrary, when You create an object based on the class vk_image, class vk_image take as a basis the class vk (together with all its constructors, parameters and methods) and add its methods and parameters (or replace it, depending on the implementation) native methods and parameters.

Find more questions by tags OOPPHP