GrafiteInc/Scaffold

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

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace App\View\Components\Charts;

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

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