samedi 1 décembre 2018

Laravel 5.5 connect your class in the controller

There is a file "MyClasses.php" in the folder "App":

namespace App;

use Illuminate\Database\Eloquent\Model;

class Model1 extends Model {}
class Model2 extends Model {}

How to connect it in the controller using use?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire