1
<?php
2

3
namespace Nuwave\Lighthouse\Execution\Arguments;
4

5
class ListType
6
{
7
    /**
8
     * The type contained within the list.
9
     *
10
     * @var \Nuwave\Lighthouse\Execution\Arguments\NamedType|\Nuwave\Lighthouse\Execution\Arguments\ListType
11
     */
12
    public $type;
13

14
    /**
15
     * Is the list itself defined to be non-nullable?
16
     *
17
     * @var bool
18
     */
19
    public $nonNull = false;
20

21
    /**
22
     * @param  \Nuwave\Lighthouse\Execution\Arguments\NamedType|\Nuwave\Lighthouse\Execution\Arguments\ListType  $type
23
     */
24 1
    public function __construct($type)
25
    {
26 1
        $this->type = $type;
27
    }
28
}

Read our documentation on viewing source code .

Loading