Exemplo n.º 1
0
 /**
  * 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();
 }
Exemplo n.º 2
0
 /**
  * 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');
 }