create network if doesn't already exist on server, wip test
This commit is contained in:
@@ -45,6 +45,11 @@ class Organisation extends Model
|
||||
return $this->hasMany(Provider::class);
|
||||
}
|
||||
|
||||
public function networks(): HasMany
|
||||
{
|
||||
return $this->hasMany(Network::class);
|
||||
}
|
||||
|
||||
public static function createUniqueSlug(string $name): string
|
||||
{
|
||||
$slug = Str::slug($name);
|
||||
|
||||
Reference in New Issue
Block a user