murdercode/laravel-shortcode-plus

View on GitHub
src/Shortcodes/DisticoShortcode.php

Summary

Maintainability
A
0 mins
Test Coverage
A
100%
<?php

namespace Murdercode\LaravelShortcodePlus\Shortcodes;

class DisticoShortcode
{
    public function register($shortcode): string
    {
        $content = $shortcode->content ?? '';

        return view('shortcode-plus::distico', compact('content'))->render();
    }
}