Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
1<?php
2namespace Apie\Faker\Interfaces;
3
4use Faker\Generator;
5use ReflectionClass;
6
7/**
8 * @template T of object
9 */
10interface ApieClassFaker
11{
12    /**
13     * @param ReflectionClass<object> $class
14     */
15    public function supports(ReflectionClass $class): bool;
16    /**
17     * @param ReflectionClass<T> $class
18     * @return T
19     */
20    public function fakeFor(Generator $generator, ReflectionClass $class): mixed;
21}