File: D:/HostingSpaces/SBogers10/otium.komma.nl/app/Providers/ComponentServiceProvider.php
<?php
namespace App\Providers;
use App\Components\ComponentTypes;
use App\Components\Types\ContentPersonal;
use App\Components\Types\FeaturedServices;
use App\Components\Types\Image;
use App\Components\Types\TextImage;
use App\Components\Types\VideoText;
use App\Components\Types\Data;
use App\Components\Types\Testimonials;
use Illuminate\Support\ServiceProvider;
use Komma\KMS\Components\ComponentType\ComponentTypeFactory;
class ComponentServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
}
/**
* Register any application services.
*f
* @return void
*/
public function register()
{
ComponentTypeFactory::registerType(ComponentTypes::IMAGE, Image::class);
ComponentTypeFactory::registerType(ComponentTypes::TEXT_IMAGE, TextImage::class);
ComponentTypeFactory::registerType(ComponentTypes::VIDEO_TEXT, VideoText::class);
ComponentTypeFactory::registerType(ComponentTypes::CONTENT_PERSONAL, ContentPersonal::class);
ComponentTypeFactory::registerType(ComponentTypes::DATA, Data::class);
ComponentTypeFactory::registerType(ComponentTypes::FEATURED_SERVICES, FeaturedServices::class);
ComponentTypeFactory::registerType(ComponentTypes::TESTIMONIALS, Testimonials::class);
}
}