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
ListOf
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
 __construct
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
1<?php
2namespace Apie\Core\Dto;
3
4use Apie\Core\Actions\ActionInterface;
5use ReflectionClass;
6use ReflectionMethod;
7use ReflectionType;
8
9/**
10 * Used internally to indicate a paginated result of some object.
11 *
12 * @see ActionInterface::getInputType()
13 * @see ActionInterface::getOutputType()
14 */
15final class ListOf
16{
17    /**
18     * @param ReflectionClass<object>|ReflectionMethod|ReflectionType $type
19     */
20    public function __construct(
21        public readonly ReflectionClass|ReflectionMethod|ReflectionType $type
22    ) {
23    }
24}