In thinkphp5.1, do the parameters passed in the __construct method must have default values?
The Container class always reports an error without default parameters
天蓬老师2019-01-24 11:28:21
This is controlled by the programmer himself. If you do not pass in parameters when instantiating the container class, you should set a default value for these parameters, which is not mandatory