protected static function boot() { parent::boot(); Company::creating(function ($company) { $company->api_token = str_random(10); }); }
protected static function boot() { parent::boot(); Company::creating(function ($company) { $company->api_token = str_random(10); }); }