I have a service method with variable arguments:
public function callSP($namespace, $function, ...$params) {}
which is compiled into a container, for example:
public function callSP($namespace, $function, $params = null)
therefore it calls:
Strict standards note that callSP () must be compatible with XXX \ XXX \ Service :: callSP ($ namespace, $ function, ... $ params)
Unable to find any questions about this.
php symfony
Virginijus maila
source share