laravel-5

Cannot declare class Controller, because the name is already in use

£可爱£侵袭症+ 提交于 2020-11-24 16:43:07
问题 I recently migrated a laravel 4.2 project to 5.0. So far I have completed all the necessary steps but I keep getting an error. Cannot declare class Controller, because the name is already in use My Controller is changed as provided by laravel in the upgrade guide. <?php use Illuminate\Foundation\Bus\DispatchesCommands; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; abstract class Controller extends BaseController { use

Cannot declare class Controller, because the name is already in use

。_饼干妹妹 提交于 2020-11-24 16:40:47
问题 I recently migrated a laravel 4.2 project to 5.0. So far I have completed all the necessary steps but I keep getting an error. Cannot declare class Controller, because the name is already in use My Controller is changed as provided by laravel in the upgrade guide. <?php use Illuminate\Foundation\Bus\DispatchesCommands; use Illuminate\Routing\Controller as BaseController; use Illuminate\Foundation\Validation\ValidatesRequests; abstract class Controller extends BaseController { use