an object in php has been created
accessing a property using the following command:
$user->name
define and caccessing a class method