entity : ישות – הקלס עצמו שמורכב ממספר מאפיינים
property : תכונה – התכונות\המאפיינים שמרכיבים את הקלאסס עצמו.
namespace :
מאפשר שימוש במספר מקומות בקלאס בעל אותו שם , כל שם מיוחד לפי הנתיב
use :
מאפשר קיצור של הnamespace או על ידי יצירת שם מקוצר (as) או עם שם הקלאס עצמו
דוגמה:
use Html\Table as T; $table = new T();
scope :
public : נגיש לכולם , מאפשר גם שינוי של הערכים ופרופרטיס
private : ניתן לשינוי רק דרך הקלאס עצמו ולכן על מנת לקבל ערך יש ליצור פונקציות משיכה או הכנסה
protected : מאפשר גישה רק לפונקציות שהם הורשה של הקלאס עצמו
static :
The static keyword is used to declare properties and methods of a class as static. Static properties and methods can be used without creating an instance of the class.
The static keyword is also used to declare variables in a function which keep their value after the function has ended.