Update Entity.php

class documented