예제 #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();
 }
예제 #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');
 }