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