Scenario:
Two annotations with same name registered:
Acme\Yoyodyne\NameAnnotation
Maslosoft\Mangan\NameAnnotation
Solution:
namespace Project\Vendor;
use Acme\Yoyodyne\NameAnnotation as AcmeName;
class MyClass
{
/**
* @AcmeName('foo')
*/
public $conflicted
}
Use UseResolver for this feature.