Hello May I have some help on that?
I have the following class:
public function MyClass
{
public static foo():string
{
// Some logic there
// This is a dummy value just for explaining the problem
return 'n123';
}
public static factory():MyClass
{
return new MyClass();
}
}
Also I have the following class as well:
class MyClassConsumer
…