Translations:Developers/Object oriented programming in PHP/Properties/3/en


 * assignment:  allows you to assign a value to the class property directly, while   can be used everywhere inside the class.
 * constructor: Defining a method named __construct overrides the standard procedure of the new operator and enables to set certain values for certain properties automatically when a new object of the class is created.
 * setter methods: Setter and getter methods are mostly used by items in Arcavias which are objects storing data temporarily for passing it around inside the code.