| Total Complexity | 2 | 
| Total Lines | 30 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 10 | final class ViewFactory | ||
| 11 | { | ||
| 12 | /** | ||
| 13 | * @return View | ||
| 14 | */ | ||
| 15 | public static function create(): View | ||
| 16 |     { | ||
| 17 |         return self::createWithCallback(function () { | ||
| 18 | // noop | ||
| 19 | }); | ||
| 20 | } | ||
| 21 | |||
| 22 | /** | ||
| 23 | * @param callable $callback | ||
| 24 | * | ||
| 25 | * @return View | ||
| 26 | */ | ||
| 27 | public static function createWithCallback(callable $callback): View | ||
| 40 | } | ||
| 41 | } | ||
| 42 |