File: D:/HostingSpaces/SBogers10/gggg.komma.nl/app/Providers/ComponentServiceProvider.php
<?php
namespace App\Providers;
use App\Components\ComponentTypes;
use App\Components\Types\ContentPersonal;
use App\Components\Types\ContentSlider;
use App\Components\Types\DoubleText;
use App\Components\Types\Downloads;
use App\Components\Types\Text;
use App\Components\Types\TextImageButton;
use App\Components\Types\USP;
use Illuminate\Support\ServiceProvider;
use Komma\KMS\Components\ComponentType\ComponentTypeFactory;
use App\Components\Types\Quote;
class ComponentServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
}
/**
* Register any application services.
*
* @return void
*/
public function register()
{
ComponentTypeFactory::registerType(ComponentTypes::TEXT, Text::class);
ComponentTypeFactory::registerType(ComponentTypes::DOUBLE_TEXT, DoubleText::class);
ComponentTypeFactory::registerType(ComponentTypes::TEXT_IMAGE_BUTTON, TextImageButton::class);
ComponentTypeFactory::registerType(ComponentTypes::CONTENT_PERSONAL, ContentPersonal::class);
ComponentTypeFactory::registerType(ComponentTypes::CONTENT_SLIDER, ContentSlider::class);
ComponentTypeFactory::registerType(ComponentTypes::USP, USP::class);
ComponentTypeFactory::registerType(ComponentTypes::DOWNLOADS, Downloads::class);
ComponentTypeFactory::registerType(ComponentTypes::QUOTE, Quote::class);
}
}