1
<?php
2

3
namespace Nuwave\Lighthouse\Support\Traits;
4

5
trait HasArgumentValue
6
{
7
    /**
8
     * @var \Nuwave\Lighthouse\Execution\Arguments\Argument|\Nuwave\Lighthouse\Execution\Arguments\ArgumentSet
9
     */
10
    protected $argumentValue;
11

12
    /**
13
     * @return \Nuwave\Lighthouse\Execution\Arguments\Argument|\Nuwave\Lighthouse\Execution\Arguments\ArgumentSet
14
     */
15 0
    public function argumentValue()
16
    {
17 0
        return $this->argumentValue;
18
    }
19

20
    /**
21
     * @param  \Nuwave\Lighthouse\Execution\Arguments\Argument|\Nuwave\Lighthouse\Execution\Arguments\ArgumentSet  $argument
22
     * @return $this
23
     */
24 1
    public function setArgumentValue($argument): self
25
    {
26 1
        $this->argumentValue = $argument;
27

28 1
        return $this;
29
    }
30
}

Read our documentation on viewing source code .

Loading