What is the PHP code for this object & method?

Mz Lani

New member
A Tardis object (box) has one attribute -- a door. It can be opened and closed. What is te PHP code to create the Tardis object and the methods that will open and close the door & also check the door status.
 
Back
Top