src/Observing/ObservedFactory.php
public function create(ObserverInterface $observer, LifeCyclableInterface $lifeCyclableInstance): ObservedInterface
    {
        $traceClassName = $this->traceClassName;
        $observedClassName = $this->observedClassName;

        return new $observedClassName($lifeCyclableInstance, $observer, new $traceClassName(), $this->eventClassName);
    }
public function create(ObserverInterface $observer, LifeCyclableInterface $lifeCyclableInstance): ObservedInterface
    {
        $traceClassName = $this->traceClassName;
        $observedClassName = $this->observedClassName;

        return new $observedClassName($lifeCyclableInstance, $observer, new $traceClassName(), $this->eventClassName);
    }
@param ObserverInterface     $observer
@param LifeCyclableInterface $lifeCyclableInstance

@return ObservedInterface