Since the class is located in the NS 'Presence' DateTime() should cause an PHPError to be thrown .. use \DateTime()