OOP Learning Mode

Consider the following PHP code snippet:

<?php
class Object {
   function __construct( $entity ) {
       $entity->name="John";
   }
}
class Entity {
     var $name = "Maria";
}
$entity = new Entity();
$obj = new Object( $entity );
print $entity->name;
?>

What should be the output of this script?