mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-10 20:21:05 +03:30
add rahyab notifcation service
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
if (!function_exists('pluckValues')) {
|
||||
/**
|
||||
* Extracts the values of a given key from an array of associative arrays.
|
||||
@@ -15,3 +17,12 @@ if (!function_exists('pluckValues')) {
|
||||
}, $array);
|
||||
}
|
||||
}
|
||||
|
||||
if (!function_exists('getNamespaceMap')) {
|
||||
|
||||
function getNamespaceMap(Model $model): string
|
||||
{
|
||||
return $model->getMorphClass();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user