change icons, css, add routing to merchandise, add mail templater, fixes
This commit is contained in:
18
app/Repositories/Core/Mail/Mailables.php
Normal file
18
app/Repositories/Core/Mail/Mailables.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repositories\Core\Mail;
|
||||
|
||||
class Mailables
|
||||
{
|
||||
public static function getList()
|
||||
{
|
||||
$data = [];
|
||||
$files = glob(app_path('Mail').'/*.php');
|
||||
foreach ($files as $file) {
|
||||
$class = basename($file, '.php');
|
||||
$data['App\Mail\\'.$class] = $class;
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user