summaryrefslogtreecommitdiff
path: root/tests/Unit/Http/Validation/Rules/Stub/ParentClassImplementation.php
blob: 1b6aaaf54f4a3e9b522b96c1d09e2da4409f698d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php

namespace Engelsystem\Test\Unit\Http\Validation\Rules\Stub;

class ParentClassImplementation
{
    /** @var bool */
    public $validateResult = true;

    /** @var mixed */
    public $lastInput;

    /**
     * @param mixed $input
     * @return bool
     */
    public function validate($input): bool
    {
        $this->lastInput = $input;

        return $this->validateResult;
    }
}