Closed dstepe closed 4 years ago
The changes to how the agent is constructed make it challenging to extend the Agent class. The AgentBuilder always creates a new Agent object, so any project needing to extend the Agent is left to handle the construction without the builder.
Agent
AgentBuilder
Fixed on https://github.com/nipwaayoni/elastic-apm-php-agent/pull/59
The changes to how the agent is constructed make it challenging to extend the
Agent
class. TheAgentBuilder
always creates a newAgent
object, so any project needing to extend the Agent is left to handle the construction without the builder.