As commented above I tried that. It works with Netbeans, but PHPStorm can't resolve this (seems to be a bug of PHPStorm, as it can resolve relative namespaces in other tags).