ive been coding the plain old procedural way in php and i want to move that code to object oriented.
can i just simply use my currently written php code into a function and then call it?
pleas let me know an easy way to make my normal php code into object oriented?
In PHP the concept of OOP is less code there is just a logic of this concepts . There arfe some data types of OOP are using in PHP code there might be use of inheritance and abstract concepts are using for the PHP level for coding . For PHP the logic must be clear other wise you cant do the coding .