Converted to Apigility\Doctrine