Version 1
[yaffs-website] / vendor / symfony / class-loader / Tests / Fixtures / php5.4 / traits.php
diff --git a/vendor/symfony/class-loader/Tests/Fixtures/php5.4/traits.php b/vendor/symfony/class-loader/Tests/Fixtures/php5.4/traits.php
new file mode 100644 (file)
index 0000000..ccdadaf
--- /dev/null
@@ -0,0 +1,32 @@
+<?php
+
+namespace {
+    trait TFoo
+    {
+    }
+
+    class CFoo
+    {
+        use TFoo;
+    }
+}
+
+namespace Foo {
+    trait TBar
+    {
+    }
+
+    interface IBar
+    {
+    }
+
+    trait TFooBar
+    {
+    }
+
+    class CBar implements IBar
+    {
+        use TBar;
+        use TFooBar;
+    }
+}