Trait:
namespace Package\Section;
use Package\Traits
class Example {
use Traits\Common;
}
Gets replaced with:
namespace Imposter\Prefix\Package\Section;
use Imposter\Prefix\Package\Traits
class Example {
use Imposter\Prefix\Traits\Common;
}
We could always backslashit: use \Package\Traits\Common; but then it becomes use Imposter\Prefix\\Package\Traits\Common
Is there any workaround? It might be related to #58 but this doesn't seem to apply to traits.
Trait:
Gets replaced with:
We could always backslashit:
use \Package\Traits\Common;but then it becomesuse Imposter\Prefix\\Package\Traits\CommonIs there any workaround? It might be related to #58 but this doesn't seem to apply to traits.