GrafiteInc/Scaffold

View on GitHub
app/View/Components/Charts/Registrations.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace App\View\Components\Charts;

use App\View\Charts\RegistrationThirtyDays;
use Illuminate\View\Component;

class Registrations extends Component
{
    /**
     * Get the view / contents that represent the component.
     *
     * @return \Illuminate\Contracts\View\View|\Closure|string
     */
    public function render()
    {
        return app(RegistrationThirtyDays::class)->html();
    }
}