laravel bind interface to implementation? Why composer update
阿神
阿神 2017-06-22 11:54:14
0
1
897

1.Write the test class according to the document configuration, as shown in the figure:


2. Running error


3. This is how it is called in the controller


4. Run composer update and no error will be reported

阿神
阿神

闭关修行中......

reply all(1)
世界只因有你

composer is used to manage the dependent libraries of PHP projects. Before execution, your project only contains your code. You use the laravel framework, but the code of the framework is incomplete, so an error is reported. If you execute composer update, it will be based on The configuration of composer.json updates all dependencies (download the libraries used in the project), and the dependencies are all satisfied, so it is OK.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template