spence911 Posted May 20, 2014 Share Posted May 20, 2014 I can't find an explicit answer on this anywhere, but when you create a child class from an abstract class must you use ALL of the methods that are inside the abstract class in the new child class? Or are these methods just available to the child class to pick and choose? Link to comment https://forums.phpfreaks.com/topic/288615-in-php-oop-is-it-a-must-to-use-all-of-the-methods-in-an-abstract-class-or-just-some/ Share on other sites More sharing options...
Jacques1 Posted May 20, 2014 Share Posted May 20, 2014 If the child class itself is not abstract, it must implement all abstract methods and may overwrite any of the other methods. Link to comment https://forums.phpfreaks.com/topic/288615-in-php-oop-is-it-a-must-to-use-all-of-the-methods-in-an-abstract-class-or-just-some/#findComment-1480128 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.