Tag ‘run’ used in service XXX is deprecated

23 days ago

Pavel Janda
Backer | 877
+
0
-

Hi,

what is the correct fix of that err in nette 3?

Thanks,

Pavel

22 days ago

Mabar
Member | 178
+
+1
-

In compiler extension, afterCompile method $class->getMethod('initialize')->addBody('$this->getService(?);', [$name]);

22 days ago

Pavel Janda
Backer | 877
+
0
-

For those interested in real example (as @Mabar pointed out), check out this diff: https://github.com/….0.2..v3.0.0#…