what is the naming convention in laravel for controllers . they should be singular or plural . I saw some people use singular and some people use plural for that . what is the correct form ?
what is the naming convention in laravel for controllers . they should be singular or plural . I saw some people use singular and some people use plural for that . what is the correct form ?
Here是Laravel community接受的naming conventions个列表.根据这一点,Controller名称应该是Singular,尽管您可以根据需要或您的团队喜欢的方式 Select 您自己的约定.