Similarly to @deprecated, it should be possible to receive suggestions for classes/functions/methods that are annotated with @internal. In the following example, only method is autocompleted, internalMethod is not:
class MyClass
{
public function method(string $foo): string
{
return $foo;
}
/**
* @internal
*/
public function internalMethod(string $foo): string
{
return $foo;
}
}
(new MyClass())->