mirror of
https://github.com/composer/composer
synced 2025-05-08 16:17:37 +00:00
30 lines
273 B
PHP
30 lines
273 B
PHP
<?php
|
|
namespace {
|
|
trait TFoo
|
|
{
|
|
}
|
|
|
|
class CFoo
|
|
{
|
|
use TFoo;
|
|
}
|
|
}
|
|
|
|
namespace Foo {
|
|
trait TBar
|
|
{
|
|
}
|
|
|
|
interface IBar
|
|
{
|
|
}
|
|
|
|
trait TFooBar
|
|
{
|
|
}
|
|
|
|
class CBar implements IBar
|
|
{
|
|
use TBar, TFooBar;
|
|
}
|
|
}
|