Vesko Kenashkov
Vesko Kenashkov
Hi Peter, I presume by mentioning Doctrine you mean to use constructed queries with the Query Builder? I never used it as the projects I work have multiple queries with...
In regards to the DataMapper and the aliasing in Doctrine this will require to use their EM query builder which is not practical for very large queries. Becomes unreadable and...
Perhaps actually before this is considered the API for getContext() should be reviewed. Perhaps it will be better getContext() to accept as first argument the $coroutine_id for which we want...
I meant: getContext(int $cid = 0, string $class_name = 'Swoole\Coroutine\Context') Or getContext(?int $cid = NULL, string $class_name = 'Swoole\Coroutine\Context') P.S. I just noticed that in 4.3.5 it actually has $cid,...
We needed to have custom methods on this class. Of course, we could use closures and assign them as properties which will act as a method but this is monkey...
After some more thought actually having another argument for the class is not a good idea (as it has to be provided on every getContext call and also an error...