/** * Create new object tracer * * @param object $object Object to be traced * @param array $methods List of method names to be traced */ public function __construct($object, $methods) { parent::__construct($object); $this->methods = $methods; $this->tracer = new ObjectCallTrace(); }
/** * Create new object tracer * * @param object $object Object to be traced * @param array $methods List of method names to be traced */ public function __construct($object, $methods) { parent::__construct($object); $this->methods = $methods; $this->tracer = WF::build('ObjectCallTrace'); }