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?