Parse error: syntax error, unexpected '$this' (T_VARIABLE), expecting function (T_FUNCTION) or const (T_CONST) in /home/omekas/www/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php on line 699