add rahyab notifcation service

This commit is contained in:
ehsan.moradi
2025-05-01 17:39:46 +03:30
parent b573d1bbed
commit baeaed7c70
+11
View File
@@ -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();
}
}