- Fully transitioned the backend to the Porto architectural pattern - Improved code organization and maintainability - Fixed minor bugs and inconsistencies
22 lines
375 B
PHP
22 lines
375 B
PHP
<?php
|
|
|
|
namespace App\Providers;
|
|
|
|
use App\Ship\Helpers\ByteConverter;
|
|
use Illuminate\Support\ServiceProvider;
|
|
|
|
class ByteConverterServiceProvider extends ServiceProvider
|
|
{
|
|
public function register()
|
|
{
|
|
$this->app->bind('byteconverter', function () {
|
|
return new ByteConverter();
|
|
});
|
|
}
|
|
|
|
public function boot()
|
|
{
|
|
//
|
|
}
|
|
}
|