14 lines
226 B
PHP
14 lines
226 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class Service extends Model
|
|
{
|
|
public function users()
|
|
{
|
|
return $this->belongsToMany('App\Models\Category', 'categories_services');
|
|
}
|
|
}
|