For teacher, all of the students have a common attributes (adjective in the context of grammar. for example, every student have a unique roll number) and some methods (verb in the context of grammar. for example, every student can read a poem "Twinkle twinkle little star". Also, they can (student) know the history of "Troy of Helen".
Then the structure of a Student class written in PHP as
Then the structure of a Student class written in PHP as
class Student {
private $roll;
public function recrete()
public function historian()
}