This can be done in PHP >= 5.6 without call_user_func_array() by using the ... (splat) operator:
public function __construct()
{
parent::__construct(...func_get_args());
}
This can be done in PHP >= 5.6 without call_user_func_array() by using the ... (splat) operator:
public function __construct()
{
parent::__construct(...func_get_args());
}