I am using Threads (PHP7 + pthreads) for performance optimisation. I builded a class which extends Thread.
class MyClass extends \Thread
In the function "run()" of this class, I want to access a Manager Class (extends Component). But this class can't be founded. I always get this error:
PHP Fatal error: Uncaught Error: Class 'MyManager' not found in /.../Response.php:37
It seems that the class extended from Thread doesn't has any access to other namespaces.
Does anybody know a solution for it?