mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-02-05 13:49:02 +00:00
82 - Refactoring to a Facade
This commit is contained in:
14
app/Facades/OrderConfirmationNumber.php
Normal file
14
app/Facades/OrderConfirmationNumber.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace App\Facades;
|
||||
|
||||
use Illuminate\Support\Facades\Facade;
|
||||
use App\OrderConfirmationNumberGenerator;
|
||||
|
||||
class OrderConfirmationNumber extends Facade
|
||||
{
|
||||
protected static function getFacadeAccessor()
|
||||
{
|
||||
return OrderConfirmationNumberGenerator::class;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user