#php
Read more stories on Hashnode
Articles with this tag
Single Responsibility Principles : .A Class should have only one(single) reason to change. .A Class should only have one(single) responsibility and be...
traits: php only supported single inheritance , a child class can inherit from one single Parent class ,if we need multiple behaviours from more then...
inheritance: when a class derives from another class , parent class and child class relationship between them , relation stablished with a keyword...
here we will start with basic class of object orient programming in php. Class , properties , methods , instance : <?php class Fruit{ //class...