Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
1 / 1
DashboardContentFactory
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
1 / 1
 create
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2namespace Apie\LaravelApie\Wrappers\Cms;
3
4use Apie\Common\Interfaces\DashboardContentFactoryInterface;
5
6class DashboardContentFactory implements DashboardContentFactoryInterface
7{
8    public function create(
9        string $template,
10        array $templateParameters = []
11    ): DashboardContents {
12        return new DashboardContents($template, $templateParameters);
13    }
14}