From 5a44622dce86f85194c2d0563cffd8bb96c3f83d Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 15 Aug 2017 08:28:02 +0200 Subject: New package, v0.0.1, devel --- common.php | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 common.php (limited to 'common.php') diff --git a/common.php b/common.php new file mode 100644 index 0000000..7d06872 --- /dev/null +++ b/common.php @@ -0,0 +1,69 @@ +val = $val; + } + + public static function asdf() + { + return 'qwer'; + } + + public static function plus($a, $b) + { + return $a + $b; + } + + public function bar() + { + return 1; + } + + public function add($a, $b) + { + return $a + $b; + } + + public function context() + { + return opencensus_trace_context(); + } + } +} + +namespace Illuminate\Database\Eloquent +{ + // fake class with method we know is traced + class Model + { + public function delete() { + + } + } +} -- cgit